| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function testGetResponseAutoInitParam() |
||
| 16 | { |
||
| 17 | $object = new ObjectAwareResponse(); |
||
| 18 | self::assertFalse($object->hasResponse()); |
||
| 19 | |||
| 20 | self::assertNull($object->getResponse()); |
||
| 21 | |||
| 22 | $response = $object->getResponse(true); |
||
| 23 | self::assertInstanceOf(Response::class, $response); |
||
| 24 | self::assertSame($response, $object->getResponse()); |
||
| 25 | } |
||
| 26 | } |