Code Duplication    Length = 8-8 lines in 2 locations

eZ/Publish/API/Repository/Tests/FieldType/SearchBaseIntegrationTest.php 2 locations

@@ 1304-1311 (lines=8) @@
1301
     * @dataProvider fullTextFindProvider
1302
     * @depends testCreateTestContent
1303
     */
1304
    public function testFullTextFindOne($valueOne, $valueTwo, $filter, $content, array $context)
1305
    {
1306
        $this->checkFullTextSupport();
1307
1308
        $criteria = new Criterion\FullText($valueOne);
1309
1310
        $this->assertFindResult($context, $criteria, true, false, $filter, $content, null);
1311
    }
1312
1313
    /**
1314
     * @dataProvider fullTextFindProvider
@@ 1317-1324 (lines=8) @@
1314
     * @dataProvider fullTextFindProvider
1315
     * @depends testCreateTestContent
1316
     */
1317
    public function testFullTextFindTwo($valueOne, $valueTwo, $filter, $content, array $context)
1318
    {
1319
        $this->checkFullTextSupport();
1320
1321
        $criteria = new Criterion\FullText($valueTwo);
1322
1323
        $this->assertFindResult($context, $criteria, false, true, $filter, $content, null);
1324
    }
1325
1326
    /**
1327
     * Returns SearchResult of the tested Content for the given $criterion.