File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -173,13 +173,21 @@ public function testSetArray()
173
173
174
174
public function testPrepend ()
175
175
{
176
+ $ this ->assertSame ('aaa ' , $ this ->repository ->get ('array.0 ' ));
177
+ $ this ->assertSame ('zzz ' , $ this ->repository ->get ('array.1 ' ));
176
178
$ this ->repository ->prepend ('array ' , 'xxx ' );
177
179
$ this ->assertSame ('xxx ' , $ this ->repository ->get ('array.0 ' ));
180
+ $ this ->assertSame ('aaa ' , $ this ->repository ->get ('array.1 ' ));
181
+ $ this ->assertSame ('zzz ' , $ this ->repository ->get ('array.2 ' ));
178
182
}
179
183
180
184
public function testPush ()
181
185
{
186
+ $ this ->assertSame ('aaa ' , $ this ->repository ->get ('array.0 ' ));
187
+ $ this ->assertSame ('zzz ' , $ this ->repository ->get ('array.1 ' ));
182
188
$ this ->repository ->push ('array ' , 'xxx ' );
189
+ $ this ->assertSame ('aaa ' , $ this ->repository ->get ('array.0 ' ));
190
+ $ this ->assertSame ('zzz ' , $ this ->repository ->get ('array.1 ' ));
183
191
$ this ->assertSame ('xxx ' , $ this ->repository ->get ('array.2 ' ));
184
192
}
185
193
You can’t perform that action at this time.
0 commit comments