Inheritance: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\ChainableTokenParserInterface, use trait Nelmio\Alice\IsAServiceTrait
Example #1
0
 public function testReturnsTheTokenValue()
 {
     $token = new Token(' foo ', new TokenType(TokenType::STRING_TYPE));
     $expected = ' foo ';
     $parser = new StringTokenParser();
     $actual = $parser->parse($token);
     $this->assertEquals($expected, $actual);
 }