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

testThrowsAnExceptionIfNoDecoratedParserIsFound() public method

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