PHP 클래스 OrnoTest\ContainerTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: orno/di

보호된 프로퍼티들

프로퍼티 타입 설명
$configArray

공개 메소드들

메소드 설명
testArrayAccessMapsToCorrectMethods ( )
testAutoResolvesNestedDependenciesWithAliasedInterface ( )
testCallDoesntThinksArrayTypeHintAreToBeResolvedByContainer ( )
testCallExecutesAnonymousFunction ( )
testCallExecutesCallableDefinedByArray ( )
testCallExecutesMethodsWithNamedParameters ( )
testCallExecutesNamedFunction ( )
testCallExecutesStaticMethod ( )
testCallFillsInDefaultParameterValues ( )
testCallMergesTypeHintedAndProvidedAttributes ( )
testCallResolvesTypeHintedArgument ( )
testCallThrowsExceptionWhenCannotResolveCallable ( )
testCallThrowsRuntimeExceptionIfParameterResolutionFails ( )
testContainerAcceptsArrayAccess ( )
testContainerAcceptsArrayWithKey ( )
testContainerDoesntAcceptArrayWithoutKey ( )
testContainerDoesntAcceptInvalidConfigType ( )
testContainerGetsFromCacheWhenAvailableAndEnabled ( )
testContainerResolvesRegisteredCallable ( )
testContainerSetsCacheWhenAvailableAndEnabled ( )
testEnablingAndDisablingCachingWorksCorrectly ( )
testExtendReturnsDefinitionForModificationWhenCalledWithAValidService ( )
testExtendThrowsExceptionWhenUnregisteredServiceIsGiven ( )
testExtendsThrowsExceptionWhenModifyingAnExistingSingleton ( )
testInjectsArgumentsAndInvokesMethods ( )
testInjectsRuntimeArgumentsAndInvokesMethods ( )
testReflectionInjectsDefaultValue ( )
testReflectionOnClassWithNoConstructorCreatesDefinition ( )
testReflectionOnNonClassThrowsException ( )
testReflectionThrowsExceptionForArgumentWithNoDefaultValue ( )
testSingletonReturnsSameInstanceEverytime ( )
testStoresAndInvokesClosure ( )
testStoresAndInvokesClosureWithDefinedArguments ( )
testStoresAndReturnsArbitraryValues ( )

메소드 상세

testArrayAccessMapsToCorrectMethods() 공개 메소드

testAutoResolvesNestedDependenciesWithAliasedInterface() 공개 메소드

testCallDoesntThinksArrayTypeHintAreToBeResolvedByContainer() 공개 메소드

testCallExecutesAnonymousFunction() 공개 메소드

testCallExecutesCallableDefinedByArray() 공개 메소드

testCallExecutesMethodsWithNamedParameters() 공개 메소드

testCallExecutesNamedFunction() 공개 메소드

testCallExecutesStaticMethod() 공개 메소드

testCallFillsInDefaultParameterValues() 공개 메소드

testCallMergesTypeHintedAndProvidedAttributes() 공개 메소드

testCallResolvesTypeHintedArgument() 공개 메소드

testCallThrowsExceptionWhenCannotResolveCallable() 공개 메소드

testCallThrowsRuntimeExceptionIfParameterResolutionFails() 공개 메소드

testContainerAcceptsArrayAccess() 공개 메소드

testContainerAcceptsArrayWithKey() 공개 메소드

testContainerDoesntAcceptArrayWithoutKey() 공개 메소드

testContainerDoesntAcceptInvalidConfigType() 공개 메소드

testContainerGetsFromCacheWhenAvailableAndEnabled() 공개 메소드

testContainerResolvesRegisteredCallable() 공개 메소드

testContainerSetsCacheWhenAvailableAndEnabled() 공개 메소드

testEnablingAndDisablingCachingWorksCorrectly() 공개 메소드

testExtendReturnsDefinitionForModificationWhenCalledWithAValidService() 공개 메소드

testExtendThrowsExceptionWhenUnregisteredServiceIsGiven() 공개 메소드

testExtendsThrowsExceptionWhenModifyingAnExistingSingleton() 공개 메소드

testInjectsArgumentsAndInvokesMethods() 공개 메소드

testInjectsRuntimeArgumentsAndInvokesMethods() 공개 메소드

testReflectionInjectsDefaultValue() 공개 메소드

testReflectionOnClassWithNoConstructorCreatesDefinition() 공개 메소드

testReflectionOnNonClassThrowsException() 공개 메소드

testReflectionThrowsExceptionForArgumentWithNoDefaultValue() 공개 메소드

testSingletonReturnsSameInstanceEverytime() 공개 메소드

testStoresAndInvokesClosure() 공개 메소드

testStoresAndInvokesClosureWithDefinedArguments() 공개 메소드

testStoresAndReturnsArbitraryValues() 공개 메소드

프로퍼티 상세

$configArray 보호되어 있는 프로퍼티

protected $configArray