Esempio n. 1
0
 public function testReplaceAll()
 {
     // Remove the following lines when you implement this test.
     $list = $this->getList();
     Collections::replaceAll($list, new \blaze\lang\Integer(5), 'replaced');
     $this->assertTrue($list->get(0)->equals('replaced'));
     $this->assertTrue($list->get(3)->equals('replaced'));
 }