Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function testRequestReadyToSetAsHttp() |
||
23 | { |
||
24 | $request = new Request(); |
||
25 | $request->attributes->set('_format', 'json'); |
||
26 | $processorResponse = new ProcessorResponse($request, ['response_data'=>'data'], true); |
||
27 | |||
28 | $this->assertInstanceOf(Response::class, $response = $processorResponse->toHttpResponse()); |
||
29 | } |
||
40 | } |