PHP Class bitExpert\Disco\AnnotationBeanFactoryUnitTest

Inheritance: extends PHPUnit_Framework_TestCase
Exibir arquivo Open project: bitexpert/disco

Public Methods

Method Description
beanAliasProvider ( )
beanFactoryPostProcessorHookRuns ( )
beanFactoryPostProcessorIsInitializedAfterParametersAreSet ( )
checkForBeanWithEmptyIdWillReturnFalse ( )
checkForBeanWithNonStringIdWillReturnFalse ( )
checkForExistingBeanReturnsTrue ( )
checkForNonExistingBeanReturnsFalse ( )
defaultValueOfParameterDefinitionWillBeUsedWhenNoParameterWasGiven ( )
initializedBeanHookGetsCalledOnlyWhenBeanGetsCreated ( )
initializedBeanHookGetsCalledOnlyWhenLazyBeanGetsCreated ( )
missingOptionalParameter ( )
missingRequiredParameterWillThrowException ( )
nestedParameterKeyPassedToBeanFactoryGetsInjectedInBean ( )
parameterPassedToBeanFactoryGetsInjectedInBean ( )
postProcessorHookRunsAfterBeanCreation ( )
postProcessorHookRunsAfterLazyBeanCreation ( )
protectedDependencyNotVisibleToTheCaller ( )
protectedNonSingletonDependencyReturnsDifferentInstance ( )
protectedSingletonDependencyAlwaysReturnsSameInstance ( )
retrievingArrayPrimitive ( )
retrievingBeanByAlias ( $beanId, $beanType )
retrievingBeanWithEmptyStringThrowsException ( )
retrievingBeanWithNonStringThrowsException ( )
retrievingBeanWithStringInjected ( )
retrievingBoolPrimitive ( )
retrievingCallablePrimitive ( )
retrievingFlotPrimitive ( )
retrievingIntPrimitive ( )
retrievingNonExistentBeanThrowsException ( )
retrievingNonSingletonBeanReturnsDifferentInstances ( )
retrievingNonSingletonLazyBeanReturnsDifferentInstances ( )
retrievingProtectedBeanByAlias ( )
retrievingSingletonDependencyMatchesDirectBeanAccess ( )
retrievingSingletonLazyBeanReturnsTheSameInstances ( )
retrievingSingletonNonLazySessionBeanReturnsDependencyAsProxy ( )
retrievingStringPrimitive ( )
sessionBeanFetchesDependencyFromBeanFactoryDuringWakeup ( )
setUp ( ) {@inheritDoc}
subclassConfigurationCanBeCorrectlyEvaluated ( )
throwsExceptionIfLazyBeanMethodDoesNotReturnAnything ( )
throwsExceptionIfNonLazyBeanMethodDoesNotReturnAnything ( )
throwsExceptionIfTypeOfReturnedObjectIsNotExpectedOfLazyBean ( )
throwsExceptionIfTypeOfReturnedObjectIsNotExpectedOfNonLazyBean ( )
traitConfigurationCanBeCorrectlyEvaluated ( )

Method Details

beanAliasProvider() public method

public beanAliasProvider ( )

beanFactoryPostProcessorHookRuns() public method

beanFactoryPostProcessorIsInitializedAfterParametersAreSet() public method

checkForBeanWithEmptyIdWillReturnFalse() public method

checkForBeanWithNonStringIdWillReturnFalse() public method

checkForExistingBeanReturnsTrue() public method

checkForNonExistingBeanReturnsFalse() public method

defaultValueOfParameterDefinitionWillBeUsedWhenNoParameterWasGiven() public method

initializedBeanHookGetsCalledOnlyWhenBeanGetsCreated() public method

initializedBeanHookGetsCalledOnlyWhenLazyBeanGetsCreated() public method

missingOptionalParameter() public method

missingRequiredParameterWillThrowException() public method

nestedParameterKeyPassedToBeanFactoryGetsInjectedInBean() public method

parameterPassedToBeanFactoryGetsInjectedInBean() public method

postProcessorHookRunsAfterBeanCreation() public method

postProcessorHookRunsAfterLazyBeanCreation() public method

protectedDependencyNotVisibleToTheCaller() public method

protectedNonSingletonDependencyReturnsDifferentInstance() public method

protectedSingletonDependencyAlwaysReturnsSameInstance() public method

retrievingArrayPrimitive() public method

retrievingBeanByAlias() public method

public retrievingBeanByAlias ( $beanId, $beanType )

retrievingBeanWithEmptyStringThrowsException() public method

retrievingBeanWithNonStringThrowsException() public method

retrievingBeanWithStringInjected() public method

retrievingBoolPrimitive() public method

retrievingCallablePrimitive() public method

retrievingFlotPrimitive() public method

retrievingIntPrimitive() public method

retrievingNonExistentBeanThrowsException() public method

retrievingNonSingletonBeanReturnsDifferentInstances() public method

retrievingNonSingletonLazyBeanReturnsDifferentInstances() public method

retrievingProtectedBeanByAlias() public method

retrievingSingletonDependencyMatchesDirectBeanAccess() public method

retrievingSingletonLazyBeanReturnsTheSameInstances() public method

retrievingSingletonNonLazySessionBeanReturnsDependencyAsProxy() public method

retrievingStringPrimitive() public method

sessionBeanFetchesDependencyFromBeanFactoryDuringWakeup() public method

setUp() public method

{@inheritDoc}
public setUp ( )

subclassConfigurationCanBeCorrectlyEvaluated() public method

throwsExceptionIfLazyBeanMethodDoesNotReturnAnything() public method

throwsExceptionIfNonLazyBeanMethodDoesNotReturnAnything() public method

throwsExceptionIfTypeOfReturnedObjectIsNotExpectedOfLazyBean() public method

throwsExceptionIfTypeOfReturnedObjectIsNotExpectedOfNonLazyBean() public method

traitConfigurationCanBeCorrectlyEvaluated() public method