예제 #1
0
 public function testRemoveAll()
 {
     // Remove the following lines when you implement this test.
     $map = new HashMap();
     $map->put(5, 5);
     $map->put(6, 6);
     $this->assertTrue($this->object->removeAll($map));
     $this->assertFalse($this->object->containsKey(5));
     $map = new HashMap();
     $map->put(8, 5);
     $map->put(78, 6);
     $this->assertTrue($this->object->removeAll($map));
 }