public function testInvalidateDateThrowException($format, $date) { $validator = new Date($format); $validator->assert($date); }