| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function testFromInvalidExpirationTime() |
||
| 18 | { |
||
| 19 | $exception = InvalidExpirationTimeException::fromInvalidExpirationTime(-4); |
||
| 20 | |||
| 21 | self::assertInstanceOf(InvalidExpirationTimeException::class, $exception); |
||
| 22 | self::assertInstanceOf(InvalidArgumentException::class, $exception); |
||
| 23 | self::assertInstanceOf(ExceptionInterface::class, $exception); |
||
| 24 | self::assertSame('The provided expiration time -4 is invalid: expected a >0 integer', $exception->getMessage()); |
||
| 25 | } |
||
| 26 | } |
||
| 27 |