diff --git a/tests/Pure.DI.UsageTests/Hints/OnCannotResolveHintScenario.cs b/tests/Pure.DI.UsageTests/Hints/OnCannotResolveHintScenario.cs index ea095120d..e20a9ea22 100644 --- a/tests/Pure.DI.UsageTests/Hints/OnCannotResolveHintScenario.cs +++ b/tests/Pure.DI.UsageTests/Hints/OnCannotResolveHintScenario.cs @@ -66,7 +66,7 @@ public void Run() DI.Setup(nameof(Composition)) .Hint(OnCannotResolve, "On") .Bind().To() - .Bind().Tags().To().Root("Root"); + .RootBind("Root").To(); var composition = new Composition(); var service = composition.Root; diff --git a/tests/Pure.DI.UsageTests/Hints/OnDependencyInjectionHintScenario.cs b/tests/Pure.DI.UsageTests/Hints/OnDependencyInjectionHintScenario.cs index 8eeae1dc6..cc6cb234e 100644 --- a/tests/Pure.DI.UsageTests/Hints/OnDependencyInjectionHintScenario.cs +++ b/tests/Pure.DI.UsageTests/Hints/OnDependencyInjectionHintScenario.cs @@ -66,7 +66,7 @@ public void Run() DI.Setup(nameof(Composition)) .Hint(OnDependencyInjectionContractTypeNameRegularExpression, nameof(IDependency)) .Bind().To() - .Bind().Tags().To().Root("Root"); + .RootBind("Root").To(); var log = new List(); var composition = new Composition(log); diff --git a/tests/Pure.DI.UsageTests/Interception/AdvancedInterceptionScenario.cs b/tests/Pure.DI.UsageTests/Interception/AdvancedInterceptionScenario.cs index d0a25b695..41bc4bcdf 100644 --- a/tests/Pure.DI.UsageTests/Interception/AdvancedInterceptionScenario.cs +++ b/tests/Pure.DI.UsageTests/Interception/AdvancedInterceptionScenario.cs @@ -115,7 +115,7 @@ public void Run() // OnDependencyInjection = On DI.Setup(nameof(Composition)) .Bind().To() - .Bind().Tags().To().Root("Root"); + .RootBind("Root").To(); var log = new List(); var composition = new Composition(log);