/** * tests for check_matching_format * @dataProvider badMatchTestSet */ public function testCheckbadMatchingFormats($format, $date) { // Some bad dates not detected by current code, it's too lenient $this->assertFalse($this->time_date->check_matching_format($date, $format), "Broken match for '{$format}' with date '{$date}'"); }