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

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

공개 메소드들

메소드 설명
setUp ( )
testCanInstantiateFixtureWithIfConstructorIsAMalformedFactory ( )
testCannotInstantiateFixtureWithDefaultConstructor ( )
testCannotInstantiateFixtureWithIfConstructorIsAFactory ( )
testCannotInstantiateFixtureWithNoMethodCallConstructor ( )
testIgnoresConstructorMethodSpecifiedByTheFixtureIfIsSomethingElseThanTheConstructor ( ) Edge case allowed because this scenario should not occur. Indeed if the method is other than the constructor, the constructor is then a factory (static or not) i.e. has a caller. This situation is handled at the denormalization level.
testInstantiatesObjectWithArguments ( )
testIsAChainableInstantiator ( )
testIsNotClonable ( )
testThrowsAnExceptionIfCouldNotInstantiateObject ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

testCanInstantiateFixtureWithIfConstructorIsAMalformedFactory() 공개 메소드

testCannotInstantiateFixtureWithDefaultConstructor() 공개 메소드

testCannotInstantiateFixtureWithIfConstructorIsAFactory() 공개 메소드

testCannotInstantiateFixtureWithNoMethodCallConstructor() 공개 메소드

testIgnoresConstructorMethodSpecifiedByTheFixtureIfIsSomethingElseThanTheConstructor() 공개 메소드

Edge case allowed because this scenario should not occur. Indeed if the method is other than the constructor, the constructor is then a factory (static or not) i.e. has a caller. This situation is handled at the denormalization level.

testInstantiatesObjectWithArguments() 공개 메소드

testIsAChainableInstantiator() 공개 메소드

testIsNotClonable() 공개 메소드

public testIsNotClonable ( )

testThrowsAnExceptionIfCouldNotInstantiateObject() 공개 메소드