PHP Class OrnoTest\ContainerTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: orno/di

Protected Properties

Свойство Type Description
$configArray

Méthodes publiques

Méthode Description
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 ( )

Method Details

testArrayAccessMapsToCorrectMethods() public méthode

testAutoResolvesNestedDependenciesWithAliasedInterface() public méthode

testCallDoesntThinksArrayTypeHintAreToBeResolvedByContainer() public méthode

testCallExecutesAnonymousFunction() public méthode

testCallExecutesCallableDefinedByArray() public méthode

testCallExecutesMethodsWithNamedParameters() public méthode

testCallExecutesNamedFunction() public méthode

testCallExecutesStaticMethod() public méthode

testCallFillsInDefaultParameterValues() public méthode

testCallMergesTypeHintedAndProvidedAttributes() public méthode

testCallResolvesTypeHintedArgument() public méthode

testCallThrowsExceptionWhenCannotResolveCallable() public méthode

testCallThrowsRuntimeExceptionIfParameterResolutionFails() public méthode

testContainerAcceptsArrayAccess() public méthode

testContainerAcceptsArrayWithKey() public méthode

testContainerDoesntAcceptArrayWithoutKey() public méthode

testContainerDoesntAcceptInvalidConfigType() public méthode

testContainerGetsFromCacheWhenAvailableAndEnabled() public méthode

testContainerResolvesRegisteredCallable() public méthode

testContainerSetsCacheWhenAvailableAndEnabled() public méthode

testEnablingAndDisablingCachingWorksCorrectly() public méthode

testExtendReturnsDefinitionForModificationWhenCalledWithAValidService() public méthode

testExtendThrowsExceptionWhenUnregisteredServiceIsGiven() public méthode

testExtendsThrowsExceptionWhenModifyingAnExistingSingleton() public méthode

testInjectsArgumentsAndInvokesMethods() public méthode

testInjectsRuntimeArgumentsAndInvokesMethods() public méthode

testReflectionInjectsDefaultValue() public méthode

testReflectionOnClassWithNoConstructorCreatesDefinition() public méthode

testReflectionOnNonClassThrowsException() public méthode

testReflectionThrowsExceptionForArgumentWithNoDefaultValue() public méthode

testSingletonReturnsSameInstanceEverytime() public méthode

testStoresAndInvokesClosure() public méthode

testStoresAndInvokesClosureWithDefinedArguments() public méthode

testStoresAndReturnsArbitraryValues() public méthode

Property Details

$configArray protected_oe property

protected $configArray