@@ -6,26 +6,26 @@ |
||
6 | 6 | { |
7 | 7 | protected $model; |
8 | 8 | |
9 | - public function setUp(){ |
|
10 | - $this->model = $this->getMockForAbstractClass('Pyjac\ORM\Model'); |
|
9 | + public function setUp() { |
|
10 | + $this->model = $this->getMockForAbstractClass('Pyjac\ORM\Model'); |
|
11 | 11 | } |
12 | 12 | |
13 | 13 | public function testGetTableNameReturnsCorrectTableName() |
14 | 14 | { |
15 | 15 | $this->model->expects($this->any()) |
16 | 16 | ->method('getTableName') |
17 | - ->will($this->returnValue(strtolower(get_class($this->model).'s'))); |
|
17 | + ->will($this->returnValue(strtolower(get_class($this->model) . 's'))); |
|
18 | 18 | |
19 | - $this->assertEquals($this->model->getTableName(), strtolower(get_class($this->model).'s')); |
|
19 | + $this->assertEquals($this->model->getTableName(), strtolower(get_class($this->model) . 's')); |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | public function testGetTableNameReturnsCorrectTableName2() |
23 | 23 | { |
24 | 24 | $this->model->expects($this->any()) |
25 | 25 | ->method('getTableName') |
26 | - ->will($this->returnValue(strtolower(get_class($this->model).'s'))); |
|
26 | + ->will($this->returnValue(strtolower(get_class($this->model) . 's'))); |
|
27 | 27 | |
28 | - $this->assertEquals($this->model->getTableName(), strtolower(get_class($this->model).'s')); |
|
28 | + $this->assertEquals($this->model->getTableName(), strtolower(get_class($this->model) . 's')); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | } |
32 | 32 | \ No newline at end of file |