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

testThrowsAnExceptionIfCouldNotParseToken() public method

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