Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function itRepresentsASessionWasExpiredException() |
||
14 | { |
||
15 | $sessionWasExpiredException = new SessionWasExpiredException(); |
||
16 | |||
17 | $this->assertInstanceOf(SessionWasExpiredException::class, $sessionWasExpiredException); |
||
18 | $this->assertInstanceOf(\Exception::class, $sessionWasExpiredException); |
||
19 | $this->assertSame('Session has expired should now be refreshed', $sessionWasExpiredException->getMessage()); |
||
20 | $this->assertSame(400, $sessionWasExpiredException->getCode()); |
||
21 | } |
||
22 | } |
||
24 |