Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function testGridCreation() |
||
14 | { |
||
15 | $datasourceMock = $this->createMock('AtDataGrid\DataSource\ZendDb\TableGateway'); |
||
16 | $grid = new DataGrid($datasourceMock); |
||
17 | |||
18 | $this->assertInstanceOf(\Countable::class, $grid); |
||
19 | $this->assertInstanceOf(\IteratorAggregate::class, $grid); |
||
20 | $this->assertInstanceOf(\ArrayAccess::class, $grid); |
||
21 | } |
||
22 | } |