public function testLength() { $map = m(); $this->assertTrue($map->length() == 0); $map = new CMapObject(); $map["one"] = "a"; $map["two"] = "b"; $map["three"] = "c"; $this->assertTrue($map->length() == 3); }