Exemple #1
0
 public function testRemove()
 {
     $map = new \Bonder\Collections\Map();
     $map->set("mykey", 79);
     $map->remove("mykey");
     $this->assertNull($map->get("mykey"));
     $this->assertTrue($map->isEmpty());
     $this->assertEquals(0, $map->size());
 }