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

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: nelmio/alice

Public Methods

Method Description
setUp ( )
testCanInstantiateFixtureUsingADefaultConstructor ( )
testIfCannotGetConstructorReflectionTriesToInstantiateObjectWithoutArguments ( )
testIsAChainableInstantiator ( )
testIsNotClonable ( )
testThrowsAnExceptionIfInstantiatingObjectWithoutArgumentsFails ( )
testThrowsAnExceptionIfObjectConstructorHasMandatoryParameters ( )
testThrowsAnExceptionIfObjectConstructorIsPrivate ( )
testThrowsAnExceptionIfObjectConstructorIsProtected ( )
testThrowsAnExceptionIfObjectInstantiationFailsUnderNominalConditions ( )
testThrowsAnExceptionIfReflectionFailsWithAnotherErrorThanMethodNotExisting ( )

Method Details

setUp() public method

public setUp ( )

testCanInstantiateFixtureUsingADefaultConstructor() public method

testIfCannotGetConstructorReflectionTriesToInstantiateObjectWithoutArguments() public method

testIsAChainableInstantiator() public method

testIsNotClonable() public method

public testIsNotClonable ( )

testThrowsAnExceptionIfInstantiatingObjectWithoutArgumentsFails() public method

testThrowsAnExceptionIfObjectConstructorHasMandatoryParameters() public method

testThrowsAnExceptionIfObjectConstructorIsPrivate() public method

testThrowsAnExceptionIfObjectConstructorIsProtected() public method

testThrowsAnExceptionIfObjectInstantiationFailsUnderNominalConditions() public method

testThrowsAnExceptionIfReflectionFailsWithAnotherErrorThanMethodNotExisting() public method