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