| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function it_gets_from_json() |
||
| 27 | { |
||
| 28 | $request = Request::create(null, 'POST', array(), array(), array(), array(), json_encode(array('refresh_token' => 'abcd'))); |
||
| 29 | $request->headers->set('content_type', 'application/json'); |
||
| 30 | |||
| 31 | $this::getRefreshToken($request)->shouldBe('abcd'); |
||
| 32 | } |
||
| 33 | } |
||
| 34 |