Code Duplication    Length = 8-8 lines in 2 locations

tests/TDBMDaoGeneratorTest.php 2 locations

@@ 674-681 (lines=8) @@
671
    /**
672
     * @depends testDaoGeneration
673
     */
674
    public function testFindFilters()
675
    {
676
        $userDao = new TestUserDao($this->tdbmService);
677
        $users = $userDao->getUsersByLoginStartingWith('bill');
678
679
        $this->assertCount(1, $users);
680
        $this->assertEquals('bill.shakespeare', $users[0]->getLogin());
681
    }
682
683
    /**
684
     * @expectedException \TheCodingMachine\TDBM\TDBMException
@@ 859-866 (lines=8) @@
856
    /**
857
     * @depends testDaoGeneration
858
     */
859
    public function testFirst()
860
    {
861
        $userDao = new TestUserDao($this->tdbmService);
862
        $users = $userDao->getUsersByLoginStartingWith('bill');
863
864
        $bill = $users->first();
865
        $this->assertEquals('bill.shakespeare', $bill->getLogin());
866
    }
867
868
    /**
869
     * @depends testDaoGeneration