$this->
assertSame($this->builder,
$this->builder->
addYamlMappings([]));
} public function testAddMethodMapping() { $this->
assertSame($this->builder,
$this->builder->
addMethodMapping('mapping'
));
} public function testAddMethodMappings() { $this->
assertSame($this->builder,
$this->builder->
addMethodMappings([]));
} /**
* @group legacy
*/
public function testEnableAnnotationMappingWithDefaultDoctrineAnnotationReader() { $this->
expectDeprecation('Since symfony/validator 6.4: Method "Symfony\Component\Validator\ValidatorBuilder::enableAnnotationMapping()" is deprecated, use "enableAttributeMapping()" instead.'
);
$this->
assertSame($this->builder,
$this->builder->
enableAnnotationMapping());
$this->
expectDeprecation('Since symfony/validator 6.4: Method "Symfony\Component\Validator\ValidatorBuilder::addDefaultDoctrineAnnotationReader()" is deprecated without replacement.'
);