|
1 | 1 | <?php namespace util\data\unittest; |
2 | 2 |
|
3 | 3 | use util\XPIterator; |
4 | | -use lang\types\ArrayList; |
5 | | -use lang\types\ArrayMap; |
6 | 4 | use lang\Object; |
7 | 5 | use util\data\Sequence; |
8 | 6 |
|
@@ -60,7 +58,7 @@ public static function validMaps() { |
60 | 58 | public static function fixedArrays() { |
61 | 59 | return [ |
62 | 60 | [[1, 2, 3], 'array'], |
63 | | - [new ArrayList(1, 2, 3), 'fixed-iterable'], |
| 61 | + [new \ArrayObject([1, 2, 3]), 'fixed-iterable'], |
64 | 62 | [new \ArrayIterator([1, 2, 3]), 'rewindable-iterator'], |
65 | 63 | [Sequence::of([1, 2, 3]), 'self-of-fixed-enumerable'], |
66 | 64 | ]; |
@@ -100,7 +98,7 @@ public function next() { return array_shift($this->numbers); } |
100 | 98 | public static function fixedMaps() { |
101 | 99 | return [ |
102 | 100 | [['color' => 'green', 'price' => 12.99], 'map'], |
103 | | - [new ArrayMap(['color' => 'green', 'price' => 12.99]), 'iterable'], |
| 101 | + [new \ArrayObject(['color' => 'green', 'price' => 12.99]), 'iterable'], |
104 | 102 | [new \ArrayIterator(['color' => 'green', 'price' => 12.99]), 'iterator'], |
105 | 103 | [Sequence::of(['color' => 'green', 'price' => 12.99]), 'self'] |
106 | 104 | ]; |
|
0 commit comments