Code Duplication    Length = 7-7 lines in 2 locations

Tests/src/LinkPurifierTest.php 2 locations

@@ 12-18 (lines=7) @@
9
    /**
10
     * @test
11
     */
12
    public function linkPurifyTest()
13
    {
14
        $linkPurifier = new LinkPurifier('');
15
        $output = $linkPurifier->Purify('Lorem Ipsum <a href="http://www.google.co.in" target="_blank">http://www.google.co.in</a> lorem ipsum dummy text added for the testing purpose');        
16
        $expectedOutPut = 'Lorem Ipsum  lorem ipsum dummy text added for the testing purpose';
17
        $this->assertEquals($expectedOutPut, $output);
18
    }
19
    
20
    /**
21
     * @test
@@ 23-29 (lines=7) @@
20
    /**
21
     * @test
22
     */
23
    public function linkPurifyExceptDomainTest()
24
    {
25
        $linkPurifier = new LinkPurifier('');
26
        $output = $linkPurifier->Purify('Lorem Ipsum <a href="http://www.google.co.in" target="_blank">http://www.google.co.in</a> lorem ipsum dummy text added for the testing purpose by <a href="http://www.mywebsite.co.in">http://www.mywebsite.co.in</a>', 'mywebsite');        
27
        $expectedOutPut = 'Lorem Ipsum  lorem ipsum dummy text added for the testing purpose by <a href="http://www.mywebsite.co.in">http://www.mywebsite.co.in</a>';
28
        $this->assertEquals($expectedOutPut, $output);
29
    }
30
}
31