public function testDoesNotAllowSameOrderIndex() { $filename = __DIR__ . '/../../Fixtures/failed-equal-subtitle-order-number.srt'; $this->setExpectedException('\\Exception', $filename . ' is not a proper .srt file.'); new SubripFile($filename); }