public function testJson() { $map = new Map(["a" => 1, "b" => 2, "c" => 3]); $this->assertEquals('{"a":1,"b":2,"c":3}', $map->toJSON()); }