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

testIfNoFlagIsFoundThenReturnsEmptyFlagBag() public method

    public function testIfNoFlagIsFoundThenReturnsEmptyFlagBag()
    {
        $element = 'dummy _';
        $expected = new FlagBag('dummy _');
        $parser = new ElementFlagParser(new FakeFlagParser());
        $actual = $parser->parse($element);
        $this->assertEquals($expected, $actual);
    }