Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

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