| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function testJsonResponse() |
||
| 31 | { |
||
| 32 | $this->assertEquals( |
||
| 33 | (new JsonSerializableMixedResourcesStub)->jsonSerialize(), |
||
| 34 | $this->jsonResponse() |
||
| 35 | ); |
||
| 36 | $this->assertEquals( |
||
| 37 | ['foobar_foo' => 'foo', 'foobar_bar' => 'bar'], |
||
| 38 | $this->jsonResponse('foobar') |
||
| 39 | ); |
||
| 40 | $this->assertEquals('bar', $this->jsonResponse('foobar.foobar_bar')); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |