use ExpectDeprecationTrait;
private ValidatorBuilder
$builder;
protected function setUp(): void
{ $this->builder =
new ValidatorBuilder();
} public function testAddObjectInitializer() { $this->
assertSame($this->builder,
$this->builder->
addObjectInitializer( $this->
createMock(ObjectInitializerInterface::
class) ));
} public function testAddObjectInitializers() { $this->
assertSame($this->builder,
$this->builder->
addObjectInitializers([]));
} public function testAddXmlMapping() {