Code Duplication    Length = 6-6 lines in 2 locations

Tests/BreadcrumbTest.php 2 locations

@@ 59-64 (lines=6) @@
56
        $this->breadcrumb->add('title_2', 'url_2');
57
58
        $count = 0;
59
        foreach ($this->breadcrumb as $key => $item) {
60
            $count++;
61
62
            $this->assertEquals('title_' . $key, $item['title']);
63
            $this->assertEquals('url_' . $key, $item['url']);
64
        }
65
66
        $this->assertEquals(3, $count);
67
@@ 69-74 (lines=6) @@
66
        $this->assertEquals(3, $count);
67
68
        // Double iterator.
69
        foreach ($this->breadcrumb as $key => $item) {
70
            $count++;
71
72
            $this->assertEquals('title_' . $key, $item['title']);
73
            $this->assertEquals('url_' . $key, $item['url']);
74
        }
75
    }
76
77
    public function testGet()