Code Duplication    Length = 9-9 lines in 2 locations

tests/phpunit/ResponsiveFactoryTest.php 2 locations

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