use Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer;
/**
* @author Mathias Arlaud <mathias.arlaud@gmail.com>
*/
class ConstraintViolationListNormalizerContextBuilderTest extends TestCase
{ private ConstraintViolationListNormalizerContextBuilder
$contextBuilder;
protected function setUp(): void
{ $this->contextBuilder =
new ConstraintViolationListNormalizerContextBuilder();
} /**
* @dataProvider withersDataProvider
*
* @param array<string, mixed> $values
*/
public function testWithers(array
$values) { $context =
$this->contextBuilder
->
withInstance($values[ConstraintViolationListNormalizer::INSTANCE
])