PHP Class Nelmio\Alice\Definition\Fixture\TemplatingTest

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

Méthodes publiques

Méthode Description
provideFlags ( )
testDetectTemplateFlags ( SimpleFixtureWithFlags $fixture, boolean $isATemplate, boolean $extendsFixtures, array $extendedFixtures )
testExtendedFixturesOrderIsInversed ( ) As the specs are not overridden and starting the from loaded fixture, when resolving a fixture to inherit the properties of the extended fixtures, the specs should be merged with the last extended fixture to the first one.
testIsImmutable ( )

Private Methods

Méthode Description
createFixtureWithFlags ( FlagBag $flags ) : SimpleFixtureWithFlags

Method Details

provideFlags() public méthode

public provideFlags ( )

testDetectTemplateFlags() public méthode

public testDetectTemplateFlags ( SimpleFixtureWithFlags $fixture, boolean $isATemplate, boolean $extendsFixtures, array $extendedFixtures )
$fixture SimpleFixtureWithFlags
$isATemplate boolean
$extendsFixtures boolean
$extendedFixtures array

testExtendedFixturesOrderIsInversed() public méthode

For this purpose, the list of extended fixtures is given in the right order right away.

testIsImmutable() public méthode

public testIsImmutable ( )