Captioning\Format\SubripFileTest::testDoesNotAllowSameOrderIndex PHP Method

testDoesNotAllowSameOrderIndex() public method

    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);
    }