1 | <?php |
||
17 | class ExpirationTest extends TestCase |
||
18 | { |
||
19 | /** |
||
20 | * @test |
||
21 | * |
||
22 | * @expectedException \LogicException |
||
23 | * @expectedExceptionMessage Can not get value of expiration from null value. |
||
24 | */ |
||
25 | public function shouldThrowExceptionInGetValueIfExpirationIsNull() |
||
30 | |||
31 | /** |
||
32 | * @test |
||
33 | */ |
||
34 | public function shouldReturnZeroIfNotStore() |
||
41 | |||
42 | /** |
||
43 | * @test |
||
44 | */ |
||
45 | public function shouldSuccessGetValue() |
||
54 | } |
||
55 |