Code Duplication    Length = 9-9 lines in 2 locations

src/Kunstmaan/MediaBundle/Tests/unit/Helper/FolderManagerTest.php 2 locations

@@ 93-101 (lines=9) @@
90
        $this->assertEquals(1, $rootFolder->getId());
91
    }
92
93
    public function testGetParentIds()
94
    {
95
        $this->repository
96
            ->expects($this->once())
97
            ->method('getParentIds')
98
            ->with($this->equalTo($this->folder));
99
100
        $this->assertEquals(array(1, 2), $this->object->getParentIds($this->folder));
101
    }
102
103
    public function testGetParents()
104
    {
@@ 103-111 (lines=9) @@
100
        $this->assertEquals(array(1, 2), $this->object->getParentIds($this->folder));
101
    }
102
103
    public function testGetParents()
104
    {
105
        $this->repository
106
            ->expects($this->once())
107
            ->method('getPath')
108
            ->with($this->equalTo($this->folder));
109
110
        $this->assertEquals($this->parents, $this->object->getParents($this->folder));
111
    }
112
}
113