tests/ReaderTest.php
/**
     * @testdox Tests the record from a tab separated file
     * @covers ::readRecord
     * @throws CsvException
     */
@testdox Tests the record from a tab separated file
@covers ::readRecord
@throws CsvException
@testdox Tests the record from a tab separated file @covers :: readRecord @throws CsvException
public function testGetRecordTxtTabFile(): void
    {
        $reader = new Reader(__DIR__ . '/testfile.txt');
        $reader->getStrategy()->setDelimiter("\t");
        $readRecord = $reader->readRecord();
        $this->assertSame(
            $this->expectedFirstRecord,
            $readRecord
        );
    }
public function testGetRecordTxtTabFile ( ) : void { $ reader = new Reader ( __DIR__ . '/testfile.txt' ) ; $ reader -> getStrategy ( ) -> setDelimiter ( " \t " ) ; $ readRecord = $ reader -> readRecord ( ) ; $ this -> assertSame ( $ this -> expectedFirstRecord , $ readRecord ) ; }
@testdox Tests the record from a tab separated file
 @covers ::readRecord
 @throws CsvException
@testdox Tests the record from a tab separated file @covers :: readRecord @throws CsvException