PHP 클래스 Nelmio\Alice\Generator\Instantiator\Chainable\StaticFactoryInstantiatorTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: nelmio/alice

공개 메소드들

메소드 설명
setUp ( )
testCanInstantiateFixtureWithIfConstructorIsAStaticFactory ( )
testCannotInstantiateFixtureWithDefaultConstructor ( )
testCannotInstantiateFixtureWithIfConstructorIsANonStaticFactory ( )
testCannotInstantiateFixtureWithNoMethodCallConstructor ( )
testInstantiatesObjectWithFactory ( )
testInstantiatesObjectWithFactoryAndArguments ( )
testIsAChainableInstantiator ( )
testIsNotClonable ( )
testThrowsAnExceptionIfCouldNotCallOnTheFactory ( )
testThrowsAnExceptionIfCouldNotFindFactoryClass ( )
testThrowsAnExceptionIfCouldNotFindFactoryMethod ( )
testThrowsAnExceptionIfCouldNotInstantiateObject ( )
testThrowsAnExceptionIfFactoryDoesNotReturnAnInstance ( )
testThrowsAnExceptionIfFixtureClassDoesNotMatchObjectClass ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

testCanInstantiateFixtureWithIfConstructorIsAStaticFactory() 공개 메소드

testCannotInstantiateFixtureWithDefaultConstructor() 공개 메소드

testCannotInstantiateFixtureWithIfConstructorIsANonStaticFactory() 공개 메소드

testCannotInstantiateFixtureWithNoMethodCallConstructor() 공개 메소드

testInstantiatesObjectWithFactory() 공개 메소드

testInstantiatesObjectWithFactoryAndArguments() 공개 메소드

testIsAChainableInstantiator() 공개 메소드

testIsNotClonable() 공개 메소드

public testIsNotClonable ( )

testThrowsAnExceptionIfCouldNotCallOnTheFactory() 공개 메소드

testThrowsAnExceptionIfCouldNotFindFactoryClass() 공개 메소드

testThrowsAnExceptionIfCouldNotFindFactoryMethod() 공개 메소드

testThrowsAnExceptionIfCouldNotInstantiateObject() 공개 메소드

testThrowsAnExceptionIfFactoryDoesNotReturnAnInstance() 공개 메소드

testThrowsAnExceptionIfFixtureClassDoesNotMatchObjectClass() 공개 메소드