@dataProvider getValidValues
public function testValidValues($date) { $this->context ->expects($this ->never()) ->method('addViolation'); $this->validator ->validate($date, new NotBlank()); }