public function testFromArguments() { $map = CMapObject::fromArguments([["one" => "a", "two" => "b", "three" => "c"]]); $this->assertTrue($map->equals(m(["one" => "a", "two" => "b", "three" => "c"]))); }
/** * @ignore */ function m() { return CMapObject::fromArguments(func_get_args()); }