Code Duplication    Length = 8-8 lines in 2 locations

test/ModelTest.php 2 locations

@@ 13-20 (lines=8) @@
10
		$this->model =  $this->getMockForAbstractClass('Pyjac\ORM\Model');
11
	}
12
13
	public function testGetTableNameReturnsCorrectTableName()
14
    {
15
        $this->model->expects($this->any())
16
             ->method('getTableName')
17
             ->will($this->returnValue(strtolower(get_class($stub).'s')));
18
19
        $this->assertEquals($stub->getTableName(), strtolower(get_class($stub).'s'));
20
    }
21
22
    public function testGetTableNameReturnsCorrectTableName()
23
    {
@@ 22-29 (lines=8) @@
19
        $this->assertEquals($stub->getTableName(), strtolower(get_class($stub).'s'));
20
    }
21
22
    public function testGetTableNameReturnsCorrectTableName()
23
    {
24
        $this->model->expects($this->any())
25
             ->method('getTableName')
26
             ->will($this->returnValue(strtolower(get_class($stub).'s')));
27
28
        $this->assertEquals($stub->getTableName(), strtolower(get_class($stub).'s'));
29
    }
30
31
}