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

testThrowsAnExceptionIfNoDecoratedParserIsFound() public method

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