public function testSupportNormalization()
{
$urlGeneratorProphecy = $this->prophesize(UrlGeneratorInterface::class);
$normalizer = new ConstraintViolationListNormalizer($urlGeneratorProphecy->reveal());
$this->assertTrue($normalizer->supportsNormalization(new ConstraintViolationList(), ConstraintViolationListNormalizer::FORMAT));
$this->assertFalse($normalizer->supportsNormalization(new ConstraintViolationList(), 'xml'));
$this->assertFalse($normalizer->supportsNormalization(new \stdClass(), ConstraintViolationListNormalizer::FORMAT));
}