Code Duplication    Length = 9-9 lines in 2 locations

tests/phpunit/ResponsiveFactoryTest.php 2 locations

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