Inheritance: extends AbstractChainableParserAwareParser
 public function testTrimsEachArgumentValueBeforePassingThemToTheDecoratedParser()
 {
     $token = new Token('[ val1 , val2 ]', new TokenType(TokenType::STRING_ARRAY_TYPE));
     $decoratedParserProphecy = $this->prophesize(ParserInterface::class);
     $decoratedParserProphecy->parse('val1')->willReturn('parsed_val1');
     $decoratedParserProphecy->parse('val2')->willReturn('parsed_val2');
     /** @var ParserInterface $decoratedParser */
     $decoratedParser = $decoratedParserProphecy->reveal();
     $expected = ['parsed_val1', 'parsed_val2'];
     $parser = new StringArrayTokenParser($decoratedParser);
     $actual = $parser->parse($token);
     $this->assertEquals($expected, $actual);
 }