PHP Класс Nelmio\Alice\Generator\Instantiator\Chainable\NoCallerMethodCallInstantiatorTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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() публичный Метод