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

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

Méthodes publiques

Méthode Description
setUp ( )
testCanInstantiateFixtureWithIfConstructorIsAStaticFactory ( )
testCannotInstantiateFixtureWithDefaultConstructor ( )
testCannotInstantiateFixtureWithIfConstructorIsANonStaticFactory ( )
testCannotInstantiateFixtureWithNoMethodCallConstructor ( )
testInstantiatesObjectWithFactory ( )
testInstantiatesObjectWithFactoryAndArguments ( )
testIsAChainableInstantiator ( )
testIsNotClonable ( )
testThrowsAnExceptionIfCouldNotCallOnTheFactory ( )
testThrowsAnExceptionIfCouldNotFindFactoryClass ( )
testThrowsAnExceptionIfCouldNotFindFactoryMethod ( )
testThrowsAnExceptionIfCouldNotInstantiateObject ( )
testThrowsAnExceptionIfFactoryDoesNotReturnAnInstance ( )
testThrowsAnExceptionIfFixtureClassDoesNotMatchObjectClass ( )

Method Details

setUp() public méthode

public setUp ( )

testCanInstantiateFixtureWithIfConstructorIsAStaticFactory() public méthode

testCannotInstantiateFixtureWithDefaultConstructor() public méthode

testCannotInstantiateFixtureWithIfConstructorIsANonStaticFactory() public méthode

testCannotInstantiateFixtureWithNoMethodCallConstructor() public méthode

testInstantiatesObjectWithFactory() public méthode

testInstantiatesObjectWithFactoryAndArguments() public méthode

testIsAChainableInstantiator() public méthode

testIsNotClonable() public méthode

public testIsNotClonable ( )

testThrowsAnExceptionIfCouldNotCallOnTheFactory() public méthode

testThrowsAnExceptionIfCouldNotFindFactoryClass() public méthode

testThrowsAnExceptionIfCouldNotFindFactoryMethod() public méthode

testThrowsAnExceptionIfCouldNotInstantiateObject() public méthode

testThrowsAnExceptionIfFactoryDoesNotReturnAnInstance() public méthode

testThrowsAnExceptionIfFixtureClassDoesNotMatchObjectClass() public méthode