Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

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