Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 702-709 (lines=8) @@
699
    /**
700
     * @depends testDaoGeneration
701
     */
702
    public function testFindFilters()
703
    {
704
        $userDao = new TestUserDao($this->tdbmService);
705
        $users = $userDao->getUsersByLoginStartingWith('bill');
706
707
        $this->assertCount(1, $users);
708
        $this->assertEquals('bill.shakespeare', $users[0]->getLogin());
709
    }
710
711
    /**
712
     * @expectedException \TheCodingMachine\TDBM\TDBMException
@@ 887-894 (lines=8) @@
884
    /**
885
     * @depends testDaoGeneration
886
     */
887
    public function testFirst()
888
    {
889
        $userDao = new TestUserDao($this->tdbmService);
890
        $users = $userDao->getUsersByLoginStartingWith('bill');
891
892
        $bill = $users->first();
893
        $this->assertEquals('bill.shakespeare', $bill->getLogin());
894
    }
895
896
    /**
897
     * @depends testDaoGeneration