public void ReturnAccountBalance() { var mygengo = new MyGengoClient(ApiKeys.PublicKey, ApiKeys.PrivateKey, useSandbox: true); XDocument response = mygengo.GetAccountBalance(); // response.Root.Element("response") is your ideal response! }
public void TestGetAccountBalance() { var myGengo = new MyGengoClient(ApiKeys.PublicKey, ApiKeys.PrivateKey, useSandbox: true); XDocument response = myGengo.GetAccountBalance(); Assert.AreEqual("ok", response.Root.Element("opstat").Value); }