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 testFindFilters()
691
    {
692
        $userDao = new TestUserDao($this->tdbmService);
693
        $users = $userDao->getUsersByLoginStartingWith('bill');
694
695
        $this->assertCount(1, $users);
696
        $this->assertEquals('bill.shakespeare', $users[0]->getLogin());
697
    }
698
699
    /**
700
     * @expectedException \TheCodingMachine\TDBM\TDBMException
@@ 875-882 (lines=8) @@
872
    /**
873
     * @depends testDaoGeneration
874
     */
875
    public function testFirst()
876
    {
877
        $userDao = new TestUserDao($this->tdbmService);
878
        $users = $userDao->getUsersByLoginStartingWith('bill');
879
880
        $bill = $users->first();
881
        $this->assertEquals('bill.shakespeare', $bill->getLogin());
882
    }
883
884
    /**
885
     * @depends testDaoGeneration