/** * @expectedException \Kassner\LogParser\FormatException */ public function testWrongFormat() { $parser = new LogParser(); $parser->parseLog('Wrong format'); }