| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 10 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function testNoopMiddleware() |
||
| 12 | { |
||
| 13 | $requst = $this->getRequestMock(); |
||
| 14 | $response = $this->getResponseMock(); |
||
| 15 | $handler = $this->assertedHandler($requst, $response); |
||
| 16 | $middleware = new NoopMiddleware(); |
||
| 17 | |||
| 18 | $actualResponse = $middleware->process($requst, $handler); |
||
| 19 | Assert::assertSame($response, $actualResponse); |
||
| 20 | } |
||
| 21 | } |
||
| 22 |