| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | function it_initializes_the_session_driver( |
||
| 30 | ServerRequestInterface $request, |
||
| 31 | ResponseInterface $response, |
||
| 32 | SessionDriverInterface $sessionDriver |
||
| 33 | ) |
||
| 34 | { |
||
| 35 | $request->withAttribute('session', $sessionDriver)->willReturn($request); |
||
| 36 | $this->handle($request, $response)->shouldBe($response); |
||
| 37 | $request->withAttribute('session', $sessionDriver)->shouldHaveBeenCalled(); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |