1 | <?php |
||
7 | class IteratorTraitTest extends \PHPUnit\Framework\TestCase |
||
8 | { |
||
9 | /** |
||
10 | * Verify basic behavior of valid(). |
||
11 | * |
||
12 | * @test |
||
13 | * @covers ::valid |
||
14 | * |
||
15 | * @return void |
||
16 | */ |
||
17 | public function valid() |
||
22 | |||
23 | /** |
||
24 | * Verify basic behavior of current(). |
||
25 | * |
||
26 | * @test |
||
27 | * @covers ::current |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | public function current() |
||
36 | |||
37 | /** |
||
38 | * Verify basic behavior of key(). |
||
39 | * |
||
40 | * @test |
||
41 | * @covers ::key |
||
42 | * |
||
43 | * @return void |
||
44 | */ |
||
45 | public function key() |
||
50 | |||
51 | /** |
||
52 | * Verify basic use of iterator |
||
53 | * |
||
54 | * @test |
||
55 | * @covers ::rewind |
||
56 | * @covers ::next |
||
57 | * |
||
58 | * @return void |
||
59 | */ |
||
60 | public function iterate() |
||
79 | } |
||
80 |