Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 732-739 (lines=8) @@
729
    /**
730
     * @depends testDaoGeneration
731
     */
732
    public function testFindFilters()
733
    {
734
        $userDao = new TestUserDao($this->tdbmService);
735
        $users = $userDao->getUsersByLoginStartingWith('bill');
736
737
        $this->assertCount(1, $users);
738
        $this->assertEquals('bill.shakespeare', $users[0]->getLogin());
739
    }
740
741
    /**
742
     * @expectedException \TheCodingMachine\TDBM\TDBMException
@@ 917-924 (lines=8) @@
914
    /**
915
     * @depends testDaoGeneration
916
     */
917
    public function testFirst()
918
    {
919
        $userDao = new TestUserDao($this->tdbmService);
920
        $users = $userDao->getUsersByLoginStartingWith('bill');
921
922
        $bill = $users->first();
923
        $this->assertEquals('bill.shakespeare', $bill->getLogin());
924
    }
925
926
    /**
927
     * @depends testDaoGeneration