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

testThrowsAnExceptionIfPassedTokenIsInvalid() public method

    public function testThrowsAnExceptionIfPassedTokenIsInvalid()
    {
        $token = new Token('@user{1..10', new TokenType(TokenType::RANGE_REFERENCE_TYPE));
        $parser = new FixtureRangeReferenceTokenParser();
        $parser->parse($token);
    }