Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 690-697 (lines=8) @@
687
    /**
688
     * @depends testDaoGeneration
689
     */
690
    public function testFindFromRawSqlWithUnion()
691
    {
692
        $countryDao = new TestCountryDao($this->tdbmService);
693
        $countries = $countryDao->getCountriesUsingUnion();
694
695
        $this->assertCount(2, $countries);
696
        $this->assertEquals(1, $countries[0]->getId());
697
    }
698
699
    /**
700
     * @depends testDaoGeneration
@@ 702-709 (lines=8) @@
699
    /**
700
     * @depends testDaoGeneration
701
     */
702
    public function testFindFromRawSqlWithSimpleQuery()
703
    {
704
        $countryDao = new TestCountryDao($this->tdbmService);
705
        $countries = $countryDao->getCountriesUsingSimpleQuery();
706
707
        $this->assertCount(1, $countries);
708
        $this->assertEquals(1, $countries[0]->getId());
709
    }
710
711
    /**
712
     * @depends testDaoGeneration