Code Duplication    Length = 8-8 lines in 3 locations

tests/Row/RowTest.php 3 locations

@@ 11-18 (lines=8) @@
8
9
class RowTest extends TestCase
10
{
11
    public function testRowArrayAccess()
12
    {
13
        $reader = new Reader('php://memory', false);
14
15
        $row = new Row(['foo', 'bar'], $reader);
16
17
        $this->assertEquals('bar', $row[1]);
18
    }
19
20
    public function testRowCounting()
21
    {
@@ 20-27 (lines=8) @@
17
        $this->assertEquals('bar', $row[1]);
18
    }
19
20
    public function testRowCounting()
21
    {
22
        $reader = new Reader('php://memory', false);
23
24
        $row = new Row(['foo', 'bar'], $reader);
25
26
        $this->assertCount(2, $row);
27
    }
28
29
    public function testRowIsTraversable()
30
    {
@@ 29-36 (lines=8) @@
26
        $this->assertCount(2, $row);
27
    }
28
29
    public function testRowIsTraversable()
30
    {
31
        $reader = new Reader('php://memory', false);
32
33
        $row = new Row(['foo', 'bar'], $reader);
34
35
        $this->assertTrue(is_iterable($row));
36
    }
37
}
38