Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 1407-1414 (lines=8) @@
1404
    /**
1405
     * @depends testDaoGeneration
1406
     */
1407
    public function testUuid()
1408
    {
1409
        $article = new ArticleBean('content');
1410
        $this->assertSame('content', $article->getContent());
1411
        $this->assertNotEmpty($article->getId());
1412
        $uuid = Uuid::fromString($article->getId());
1413
        $this->assertSame(1, $uuid->getVersion());
1414
    }
1415
1416
    /**
1417
     * @depends testDaoGeneration
@@ 1419-1426 (lines=8) @@
1416
    /**
1417
     * @depends testDaoGeneration
1418
     */
1419
    public function testUuidv4()
1420
    {
1421
        $article = new Article2Bean('content');
1422
        $this->assertSame('content', $article->getContent());
1423
        $this->assertNotEmpty($article->getId());
1424
        $uuid = Uuid::fromString($article->getId());
1425
        $this->assertSame(4, $uuid->getVersion());
1426
    }
1427
1428
    /**
1429
     * @depends testDaoGeneration