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