PHP Class Nelmio\Alice\Generator\Instantiator\Chainable\NullConstructorInstantiatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: nelmio/alice

Méthodes publiques

Méthode Description
setUp ( )
testCanInstantiateFixtureUsingADefaultConstructor ( )
testIfCannotGetConstructorReflectionTriesToInstantiateObjectWithoutArguments ( )
testIsAChainableInstantiator ( )
testIsNotClonable ( )
testThrowsAnExceptionIfInstantiatingObjectWithoutArgumentsFails ( )
testThrowsAnExceptionIfObjectConstructorHasMandatoryParameters ( )
testThrowsAnExceptionIfObjectConstructorIsPrivate ( )
testThrowsAnExceptionIfObjectConstructorIsProtected ( )
testThrowsAnExceptionIfObjectInstantiationFailsUnderNominalConditions ( )
testThrowsAnExceptionIfReflectionFailsWithAnotherErrorThanMethodNotExisting ( )

Method Details

setUp() public méthode

public setUp ( )

testCanInstantiateFixtureUsingADefaultConstructor() public méthode

testIfCannotGetConstructorReflectionTriesToInstantiateObjectWithoutArguments() public méthode

testIsAChainableInstantiator() public méthode

testIsNotClonable() public méthode

public testIsNotClonable ( )

testThrowsAnExceptionIfInstantiatingObjectWithoutArgumentsFails() public méthode

testThrowsAnExceptionIfObjectConstructorHasMandatoryParameters() public méthode

testThrowsAnExceptionIfObjectConstructorIsPrivate() public méthode

testThrowsAnExceptionIfObjectConstructorIsProtected() public méthode

testThrowsAnExceptionIfObjectInstantiationFailsUnderNominalConditions() public méthode

testThrowsAnExceptionIfReflectionFailsWithAnotherErrorThanMethodNotExisting() public méthode