Code Duplication    Length = 8-9 lines in 2 locations

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

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