Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 1419-1426 (lines=8) @@
1416
    /**
1417
     * @depends testDaoGeneration
1418
     */
1419
    public function testUuid()
1420
    {
1421
        $article = new ArticleBean('content');
1422
        $this->assertSame('content', $article->getContent());
1423
        $this->assertNotEmpty($article->getId());
1424
        $uuid = Uuid::fromString($article->getId());
1425
        $this->assertSame(1, $uuid->getVersion());
1426
    }
1427
1428
    /**
1429
     * @depends testDaoGeneration
@@ 1431-1438 (lines=8) @@
1428
    /**
1429
     * @depends testDaoGeneration
1430
     */
1431
    public function testUuidv4()
1432
    {
1433
        $article = new Article2Bean('content');
1434
        $this->assertSame('content', $article->getContent());
1435
        $this->assertNotEmpty($article->getId());
1436
        $uuid = Uuid::fromString($article->getId());
1437
        $this->assertSame(4, $uuid->getVersion());
1438
    }
1439
1440
    /**
1441
     * @depends testDaoGeneration