Code Duplication    Length = 8-9 lines in 2 locations

tests/Doctrine/Tests/ORM/Functional/EntityRepositoryTest.php 2 locations

@@ 262-269 (lines=8) @@
259
        self::assertEquals('dev', $users[0]->status);
260
    }
261
262
    public function testFindAll()
263
    {
264
        $user1Id = $this->loadFixture();
265
        $repos = $this->em->getRepository(CmsUser::class);
266
267
        $users = $repos->findAll();
268
        self::assertEquals(4, count($users));
269
    }
270
271
    public function testFindByAlias()
272
    {
@@ 385-393 (lines=9) @@
382
    /**
383
     * @group DDC-819
384
     */
385
    public function testFindMagicCallByNullValue()
386
    {
387
        $this->loadFixture();
388
389
        $repos = $this->em->getRepository(CmsUser::class);
390
391
        $users = $repos->findByStatus(null);
392
        self::assertEquals(1, count($users));
393
    }
394
395
    /**
396
     * @group DDC-819