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