Code Duplication    Length = 11-11 lines in 2 locations

eZ/Publish/Core/Persistence/Legacy/Tests/Content/Location/Gateway/DoctrineDatabaseTrashTest.php 2 locations

@@ 273-283 (lines=11) @@
270
    /**
271
     * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase::listTrashed
272
     */
273
    public function testListFullTrash()
274
    {
275
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php');
276
        $handler = $this->getLocationGateway();
277
        $this->trashSubtree();
278
279
        $this->assertCount(
280
            8,
281
            $handler->listTrashed(0, null, [])
282
        );
283
    }
284
285
    /**
286
     * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase::listTrashed
@@ 288-298 (lines=11) @@
285
    /**
286
     * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase::listTrashed
287
     */
288
    public function testListTrashLimited()
289
    {
290
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php');
291
        $handler = $this->getLocationGateway();
292
        $this->trashSubtree();
293
294
        $this->assertCount(
295
            5,
296
            $handler->listTrashed(0, 5, [])
297
        );
298
    }
299
300
    public static function getTrashValues()
301
    {