Methods

testRegisteredClassCanBeResolved()

testRegisteredClassCanBeResolved() 

Test IoC::register and IoC::resolve.

Tags

group

laravel

testSingletonsAreCreatedOnce()

testSingletonsAreCreatedOnce() 

Test that singletons are created once.

Tags

group

laravel

testInstancesAreReturnedBySingleton()

testInstancesAreReturnedBySingleton() 

Test the IoC::instance method.

Tags

group

laravel

testRegisteredMethodIndicatesIfRegistered()

testRegisteredMethodIndicatesIfRegistered() 

Test the IoC::registered method.

Tags

None found

testControllerMethodRegistersAController()

testControllerMethodRegistersAController() 

Test the IoC::controller method.

Tags

group

laravel

testOptionalParamClassResolves()

testOptionalParamClassResolves() 

Test that classes with optional parameters can resolve

Tags

None found

testClassOneForIoCResolves()

testClassOneForIoCResolves() 

Test that we can resolve TestClassOneForIoC using IoC

Tags

None found

testClassTwoForIoCResolves()

testClassTwoForIoCResolves() 

Test that we can resolve TestClassTwoForIoC

Tags

None found

testClassTwoResolvesClassOneDependency()

testClassTwoResolvesClassOneDependency() 

Test that when we resolve TestClassTwoForIoC we auto resolve the dependency for TestClassOneForIoC

Tags

None found

testClassTwoResolvesClassOneWithArgument()

testClassTwoResolvesClassOneWithArgument() 

Test that when we resolve TestClassTwoForIoC with a parameter that it actually uses that instead of a blank class TestClassOneForIoC

Tags

None found

testCanUnregisterRegistered()

testCanUnregisterRegistered() 

Tags

None found