Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\Chainable\FixtureRangeReferenceTokenParserTest::testThrowsAnExceptionIfPassedTokenIsMalformed PHP Method

testThrowsAnExceptionIfPassedTokenIsMalformed() public method

    public function testThrowsAnExceptionIfPassedTokenIsMalformed()
    {
        $token = new Token('', new TokenType(TokenType::RANGE_REFERENCE_TYPE));
        $parser = new FixtureRangeReferenceTokenParser();
        $parser->parse($token);
    }