PHP Class Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParser\ElementFlagParserTest

Inheritance: extends FlagParserTestCase
Datei anzeigen Open project: nelmio/alice

Public Methods

Method Description
assertCanParse ( string $element, FlagBag $expected )
assertCannotParse ( string $element )
setUp ( )
testCanParseElements ( string $element, FlagBag $expected = null )
testCannotParseMalformedElements ( string $element )
testIfAFlagIsFoundThenParsesItWithDecoratedParserBeforeReturningTheFlags ( )
testIfNoFlagIsFoundThenReturnsEmptyFlagBag ( )
testIsAFlagParser ( )

Method Details

assertCanParse() public method

public assertCanParse ( string $element, FlagBag $expected )
$element string
$expected Nelmio\Alice\Definition\FlagBag

assertCannotParse() public method

public assertCannotParse ( string $element )
$element string

setUp() public method

public setUp ( )

testCanParseElements() public method

public testCanParseElements ( string $element, FlagBag $expected = null )
$element string
$expected Nelmio\Alice\Definition\FlagBag

testCannotParseMalformedElements() public method

public testCannotParseMalformedElements ( string $element )
$element string

testIfAFlagIsFoundThenParsesItWithDecoratedParserBeforeReturningTheFlags() public method

testIfNoFlagIsFoundThenReturnsEmptyFlagBag() public method

testIsAFlagParser() public method

public testIsAFlagParser ( )