Code Duplication    Length = 10-11 lines in 2 locations

tests/Tests/CssEmbed/CssEmbedTest.php 2 locations

@@ 16-25 (lines=10) @@
13
 */
14
class CssEmbedTest extends \PHPUnit_Framework_TestCase
15
{
16
    public function testEmbedCss()
17
    {
18
        $origin = __DIR__.'/rsc/test.css';
19
        $expected = file_get_contents(__DIR__.'/rsc/expected.css');
20
21
        $cssEmbed = new CssEmbed();
22
        $tested = $cssEmbed->embedCss($origin);
23
24
        $this->assertEquals($expected, $tested);
25
    }
26
27
    public function testEmbedString()
28
    {
@@ 67-77 (lines=11) @@
64
        $this->assertEquals($expected, $tested);
65
    }
66
67
    public function testHttpEnabledEmbedCss()
68
    { 
69
        $origin = __DIR__.'/rsc/test-http-enabled.css';
70
        $expected = file_get_contents(__DIR__.'/rsc/expected-http-enabled.css');
71
72
        $cssEmbed = new CssEmbed();
73
        $cssEmbed->enableHttp();
74
        $tested = $cssEmbed->embedCss($origin);
75
76
        $this->assertEquals($expected, $tested);
77
    }
78
79
    public function testHttpEnabledEmbedString()
80
    {