| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 21 | final class MiddlewareAggregatorTest extends AbstractMiddlewareTest |
||
| 22 | { |
||
| 23 | public function setUp(): void |
||
| 24 | { |
||
| 25 | parent::setUp(); |
||
| 26 | |||
| 27 | $this->middleware = new MiddlewareAggregator(); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function testEmptyMiddlewareReturnHandlerResponse(): void |
||
| 31 | { |
||
| 32 | $response = $this->middleware->process($this->serverRequest->reveal(), $this->nextHandler->reveal()); |
||
| 33 | $this->assertSame($this->nextResponse->reveal(), $response); |
||
| 34 | } |
||
| 35 | |||
| 36 | public function testMiddlewareExecuteAsFifo(): void |
||
| 37 | { |
||
| 38 | $this->markTestIncomplete(); |
||
| 39 | } |
||
| 40 | |||
| 41 | public function testMiddlewareCanStopNextExecutions(): void |
||
| 42 | { |
||
| 43 | $this->markTestIncomplete(); |
||
| 44 | } |
||
| 46 |