public void resolves_registerd_components()
        {
            var container = new YeTiContainer();

            container.Register <ITestInterface, TestImplementation>();

            var resolved_object = container.Resolve <ITestInterface>();

            resolved_object.ShouldBeOfType <TestImplementation>();
        }
Example #2
0
 public YeTiContainerTest()
 {
     _container = new YeTiContainer();
 }
Example #3
0
 public yeti_container_tests()
 {
     _container = new YeTiContainer();
 }