| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function testApplyResponse() |
||
| 34 | { |
||
| 35 | $newResponse = clone $this->response; |
||
| 36 | $this->factory->shouldReceive('fromResponse')->once()->with($this->response)->andReturn($newResponse); |
||
| 37 | |||
| 38 | $this->assertSame($newResponse, $this->middleware->applyResponse($this->request, $this->response, [])); |
||
| 39 | } |
||
| 41 |