Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\Chainable\StringTokenParserTest::testReturnsTheTokenValue PHP Method

testReturnsTheTokenValue() public method

    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);
    }