/** * @covers adamblake\parse\Parse::table */ public function testParseTableThrowsErrorForInvalidType() { $this->expectException(ParseException::class); Parse::table($this->files . '/invalid.file', false); }