Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 1491-1498 (lines=8) @@
1488
    /**
1489
     * @depends testDaoGeneration
1490
     */
1491
    public function testUuid()
1492
    {
1493
        $article = new ArticleBean('content');
1494
        $this->assertSame('content', $article->getContent());
1495
        $this->assertNotEmpty($article->getId());
1496
        $uuid = Uuid::fromString($article->getId());
1497
        $this->assertSame(1, $uuid->getVersion());
1498
    }
1499
1500
    /**
1501
     * @depends testDaoGeneration
@@ 1503-1510 (lines=8) @@
1500
    /**
1501
     * @depends testDaoGeneration
1502
     */
1503
    public function testUuidv4()
1504
    {
1505
        $article = new Article2Bean('content');
1506
        $this->assertSame('content', $article->getContent());
1507
        $this->assertNotEmpty($article->getId());
1508
        $uuid = Uuid::fromString($article->getId());
1509
        $this->assertSame(4, $uuid->getVersion());
1510
    }
1511
1512
    /**
1513
     * @depends testDaoGeneration