Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
19 | public function testClient() |
||
20 | { |
||
21 | $widget = \Mockery::mock('CarlosIO\Geckoboard\Widgets\Widget'); |
||
22 | $widget->shouldReceive('getId')->andReturn('1'); |
||
23 | $widget->shouldReceive('getData')->andReturn(array(1, 2, 3)); |
||
24 | |||
25 | $client = new DummyClient(); |
||
26 | $client->push($widget); |
||
27 | } |
||
28 | |||
34 |