public function hashTableRemoveElement()
 {
     $c = new HashTable();
     $c->put(new Name('hello'), new Name('world'));
     $this->assertTrue(isset($c[new Name('hello')]));
     unset($c[new Name('hello')]);
     $this->assertFalse(isset($c[new Name('hello')]));
 }
 public function string_representation_of_map_with_contents()
 {
     $fixture = new HashTable();
     $fixture->put('hello', 'World');
     $fixture->put('hallo', 'Welt');
     $this->assertEquals("util.collections.HashTable[2] {\n" . "  \"hello\" => \"World\",\n" . "  \"hallo\" => \"Welt\"\n" . "}", $fixture->toString());
 }