Code Duplication    Length = 7-7 lines in 2 locations

tests/MappedHeaderStrategyTest.php 1 location

@@ 50-56 (lines=7) @@
47
     * @test
48
     * @covers ::isHeaderRow
49
     */
50
    public function rowIsNotHeaderRow()
51
    {
52
        $strategy = $this->getStrategy();
53
        $fileObject = $this->getFileObject();
54
        $fileObject->fgetcsv();
55
        $this->assertFalse($strategy->isHeaderRow($fileObject->fgetcsv()));
56
    }
57
58
    /**
59
     * @test

tests/ProvidedHeaderStrategyTest.php 1 location

@@ 42-48 (lines=7) @@
39
     * @test
40
     * @covers ::isHeaderRow
41
     */
42
    public function rowIsNotHeaderRow()
43
    {
44
        $strategy = $this->getStrategy();
45
        $fileObject = $this->getFileObject();
46
        $fileObject->fgetcsv();
47
        $this->assertFalse($strategy->isHeaderRow($fileObject->fgetcsv()));
48
    }
49
50
    private function getFileObject() : SplFileObject
51
    {