| Total Complexity | 3 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ResponseSenderTest extends TestCase |
||
| 14 | { |
||
| 15 | /** @var Application */ |
||
| 16 | private $application; |
||
| 17 | |||
| 18 | /** @var ResponseInterface */ |
||
| 19 | private $response; |
||
| 20 | |||
| 21 | /** @var ResponseSender */ |
||
| 22 | private $sender; |
||
| 23 | |||
| 24 | public function setUp() |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @runInSeparateProcess |
||
| 33 | */ |
||
| 34 | public function testSendResponse() |
||
| 35 | { |
||
| 36 | ob_start(); |
||
| 37 | $this->sender->sendResponse(); |
||
| 38 | $echo = ob_get_clean(); |
||
| 39 | |||
| 40 | $this->assertEquals('Not Found', $echo); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @runInSeparateProcess |
||
| 45 | */ |
||
| 46 | public function testSendHeadersAlreadySent() |
||
| 56 | } |
||
| 57 | } |
||
| 58 |