Code Duplication    Length = 9-9 lines in 2 locations

tests/Brendt/Image/ResponsiveFactoryTest.php 2 locations

@@ 81-89 (lines=9) @@
78
        $this->assertFalse($this->fs->exists("{$publicPath}/image-1920.jpeg"));
79
    }
80
81
    public function test_create_sets_correct_srcset() {
82
        $factory = new ResponsiveFactory($this->configurator);
83
        $url = 'img/image.jpeg';
84
        $image = $factory->create($url);
85
86
        $srcset = $image->srcset();
87
88
        $this->assertNotEmpty($srcset);
89
    }
90
91
    public function test_create_sets_default_srcset() {
92
        $factory = new ResponsiveFactory($this->configurator);
@@ 91-99 (lines=9) @@
88
        $this->assertNotEmpty($srcset);
89
    }
90
91
    public function test_create_sets_default_srcset() {
92
        $factory = new ResponsiveFactory($this->configurator);
93
        $url = 'img/image.jpeg';
94
        $image = $factory->create($url);
95
96
        $srcset = $image->srcset();
97
98
        $this->assertContains('/img/image-1920.jpeg 1920w', $srcset);
99
    }
100
101
    public function test_optimizer() {
102
        $url = 'img/image.jpeg';