/** * @dataProvider parseBadTimeHarness * @expectedException Exception */ public function testParseBadTime($toParse) { $this->postParserUtils->parseTime($toParse); }