diff --git a/src/Nancy.Testing/ConfigurableBootstrapper.cs b/src/Nancy.Testing/ConfigurableBootstrapper.cs index 6e9899c976..9b3cccbc34 100644 --- a/src/Nancy.Testing/ConfigurableBootstrapper.cs +++ b/src/Nancy.Testing/ConfigurableBootstrapper.cs @@ -692,23 +692,6 @@ public ConfigurableBootstrapperConfigurator Dependencies(params object[] depe return this; } - /// - /// Configures the bootstrapper to use the provided types as a dependency. - /// - /// The types that should be used registered as dependencies with the bootstrapper. - /// A reference to the current . - /// This method will register the types for all the interfaces they implement and the types themselves. - public ConfigurableBootstrapperConfigurator Dependencies(params Type[] dependencies) - { - foreach (var dependency in dependencies) - { - // This is doesn't work - this.Dependency(dependency); - } - - return this; - } - /// /// Configures the bootstrapper to use the provided types as a dependency. ///