tests/ReaderTest.php
/**
     * @testdox Get the Header as normalized array
     * @throws CsvException
     * @covers ::getHeader
     */
@testdox Get the Header as normalized array
@throws CsvException
@covers ::getHeader
@testdox Get the Header as normalized array @throws CsvException @covers :: getHeader
public function testGetHeaderNormalized(): void
    {
        $reader = new Reader(__DIR__ . '/testfile.csv');
        $reader->setNormalizeHeader(new HeaderNormalizer());
        $header = $reader->getHeader();
        $this->assertSame(
            $this->expectedNormalizedHeader,
            $header
        );
    }
public function testGetHeaderNormalized ( ) : void { $ reader = new Reader ( __DIR__ . '/testfile.csv' ) ; $ reader -> setNormalizeHeader ( new HeaderNormalizer ( ) ) ; $ header = $ reader -> getHeader ( ) ; $ this -> assertSame ( $ this -> expectedNormalizedHeader , $ header ) ; }
@testdox Get the Header as normalized array
 @throws CsvException
 @covers ::getHeader
@testdox Get the Header as normalized array @throws CsvException @covers :: getHeader