public void containerExtensions_isRegistered_using_a_non_registered_type_should_return_false() { var target = new WindsorContainer(); var actual = ContainerExtensions.IsRegistered <Object>(target); actual.Should().Be.False(); }
public void containerExtensions_isRegistered_using_a_registered_type_should_return_true() { var target = new WindsorContainer(); target.Register(Component.For <Object>()); var actual = ContainerExtensions.IsRegistered <Object>(target); actual.Should().Be.True(); }