Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 708-715 (lines=8) @@
705
    /**
706
     * @depends testDaoGeneration
707
     */
708
    public function testFindFromRawSqlWithUnion()
709
    {
710
        $countryDao = new TestCountryDao($this->tdbmService);
711
        $countries = $countryDao->getCountriesUsingUnion();
712
713
        $this->assertCount(2, $countries);
714
        $this->assertEquals(1, $countries[0]->getId());
715
    }
716
717
    /**
718
     * @depends testDaoGeneration
@@ 720-727 (lines=8) @@
717
    /**
718
     * @depends testDaoGeneration
719
     */
720
    public function testFindFromRawSqlWithSimpleQuery()
721
    {
722
        $countryDao = new TestCountryDao($this->tdbmService);
723
        $countries = $countryDao->getCountriesUsingSimpleQuery();
724
725
        $this->assertCount(1, $countries);
726
        $this->assertEquals(1, $countries[0]->getId());
727
    }
728
729
    /**
730
     * @depends testDaoGeneration