Code Duplication    Length = 8-8 lines in 2 locations

tests/GraphNode/GraphEdgeTest.php 2 locations

@@ 189-196 (lines=8) @@
186
        $this->assertEquals(['foo', 'bar'], $graphEdge->asArray());
187
    }
188
189
    public function testACollectionCanBeConvertedToProperJson()
190
    {
191
        $graphEdge = new GraphEdge($this->request, ['foo', 'bar', 123]);
192
193
        $graphEdgeAsString = $graphEdge->asJson();
194
195
        $this->assertEquals('["foo","bar",123]', $graphEdgeAsString);
196
    }
197
198
    public function testACollectionCanBeCounted()
199
    {
@@ 198-205 (lines=8) @@
195
        $this->assertEquals('["foo","bar",123]', $graphEdgeAsString);
196
    }
197
198
    public function testACollectionCanBeCounted()
199
    {
200
        $graphEdge = new GraphEdge($this->request, ['foo', 'bar', 'baz']);
201
202
        $graphEdgeCount = count($graphEdge);
203
204
        $this->assertEquals(3, $graphEdgeCount);
205
    }
206
207
    public function testACollectionCanBeAccessedAsAnArray()
208
    {