Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\Chainable\DynamicArrayTokenParserTest::testThrowsAnExceptionIfCouldNotParseToken PHP Method

testThrowsAnExceptionIfCouldNotParseToken() public method

    public function testThrowsAnExceptionIfCouldNotParseToken()
    {
        $token = new Token('', new TokenType(TokenType::DYNAMIC_ARRAY_TYPE));
        $parser = new DynamicArrayTokenParser(new FakeParser());
        $parser->parse($token);
    }