public function testReturnsParsedValueIfValueIsAString()
{
$value = 'foo';
$parserProphecy = $this->prophesize(ParserInterface::class);
$parserProphecy->parse($value)->willReturn($expected = 'parsed_value');
/** @var ParserInterface $parser */
$parser = $parserProphecy->reveal();
$denormalizer = new SimpleValueDenormalizer($parser);
$actual = $denormalizer->denormalize(new FakeFixture(), new FlagBag(''), $value);
$this->assertEquals($expected, $actual);
$parserProphecy->parse(Argument::any())->shouldHaveBeenCalledTimes(1);
}