Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParser\ElementFlagParserTest::testCannotParseMalformedElements PHP Method

testCannotParseMalformedElements() public method

public testCannotParseMalformedElements ( string $element )
$element string
    public function testCannotParseMalformedElements(string $element)
    {
        try {
            $this->parser->parse($element);
            $this->fail('Expected exception to be thrown.');
        } catch (\RuntimeException $exception) {
            // expected
        }
    }