Code Duplication    Length = 12-12 lines in 2 locations

src/Kunstmaan/NodeBundle/Tests/unit/Helper/Validation/UrlValidatorTest.php 2 locations

@@ 54-65 (lines=12) @@
51
        ];
52
    }
53
54
    public function internalLinkProvider()
55
    {
56
        return [
57
            ['[NT:123]', false],
58
            ['[NT123]', true],
59
            ['[NTABC]', false],
60
            ['[NT123ABC]', false],
61
            ['[host_a:NT123]', true],
62
            ['http://www.google.com', false],
63
            ['[NT123][M20]', true],
64
        ];
65
    }
66
67
    public function internalMediaLinkProvider()
68
    {
@@ 67-78 (lines=12) @@
64
        ];
65
    }
66
67
    public function internalMediaLinkProvider()
68
    {
69
        return [
70
            ['[M:123]', false],
71
            ['[M123]', true],
72
            ['[MABC]', false],
73
            ['[M123ABC]', false],
74
            ['[host_a:M23]', true],
75
            ['http://www.google.com', false],
76
            ['[M123][NT20]', true],
77
        ];
78
    }
79
}
80