예제 #1
0
        public void can_add_a_type_handler()
        {
            container.AddHandler(typeof(ITestService), () => new TestService());

            container.IsRegistered(typeof(ITestService)).ShouldBeTrue();
        }