public void TestHashtableComplex() {
Hashtable expected = new Hashtable();
Hashtable e_key1 = new Hashtable();
e_key1.Add("key1", "value1");
//When use class as key, its ToString() string is put in XmlRpcStruct
expected.Add(e_key1, e_key1);
_mrm.CurrentInvokeState.RetValues = new object[] { expected };
object ret = this._rpc.localproxy("Foo");
Hashtable actual = (Hashtable)ret;
Hashtable ht_val = (Hashtable)actual["CookComputing.XmlRpc.XmlRpcStruct"];
Assert.AreEqual("value1", ht_val["key1"]);
}