Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function setUp() |
||
17 | { |
||
18 | parent::setUp(); |
||
19 | // Setup our component and fake test controller |
||
20 | $request = new Request(); |
||
21 | $response = new Response(); |
||
22 | $this->controller = $this->getMock( |
||
23 | 'Cake\Controller\Controller', |
||
24 | [], |
||
25 | [$request, $response] |
||
26 | ); |
||
27 | $registry = new ComponentRegistry($this->controller); |
||
28 | $this->component = new GcmComponent($registry); |
||
29 | } |
||
30 | |||
45 |