PHP Class Nelmio\Alice\Definition\Fixture\TemplatingTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: nelmio/alice

Public Methods

Method 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

Method Description
createFixtureWithFlags ( FlagBag $flags ) : SimpleFixtureWithFlags

Method Details

provideFlags() public method

public provideFlags ( )

testDetectTemplateFlags() public method

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

testExtendedFixturesOrderIsInversed() public method

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

testIsImmutable() public method

public testIsImmutable ( )