Code Duplication    Length = 7-10 lines in 2 locations

tests/DependencyInjection/AbstractFOSCKEditorExtensionTest.php 2 locations

@@ 203-209 (lines=7) @@
200
        $this->assertTrue($this->container->get('fosck_editor.form.type')->useJquery());
201
    }
202
203
    public function testJqueryPath()
204
    {
205
        $this->loadConfiguration($this->container, 'jquery_path');
206
        $this->container->compile();
207
208
        $this->assertSame('foo/jquery.js', $this->container->get('fosck_editor.form.type')->getJqueryPath());
209
    }
210
211
    public function testCustomPaths()
212
    {
@@ 222-231 (lines=10) @@
219
        $this->assertSame('foo/ckeditor.js', $ckEditorType->getJsPath());
220
    }
221
222
    public function testFilebrowsers()
223
    {
224
        $this->loadConfiguration($this->container, 'filebrowsers');
225
        $this->container->compile();
226
227
        $this->assertSame(
228
            ['VideoBrowse', 'VideoUpload'],
229
            $this->container->get('fosck_editor.form.type')->getFilebrowsers()
230
        );
231
    }
232
233
    public function testSingleConfiguration()
234
    {