public void should_simple_synchronous_call_getaddressdisplaydata_hash_with_bad_address_returns_fail() { AddressClient client = new AddressClient(); AddressDisplayData result = client.GetDisplayData(Network.Doge, Consts.Wrong); Assert.IsNotNull(result); Assert.IsTrue(result.Status == Consts.Fail); }
public void simple_synchronous_call_getdisplaydata_returns_result_with_proxy() { AddressClient client = new AddressClient(); AddressDisplayData result = client.GetDisplayData(Network.Doge, "DM7Yo7YqPtgMsGgphX9RAZFXFhu6Kd6JTT"); Assert.IsNotNull(result); Assert.IsTrue(result.Status == Consts.Success); Assert.IsTrue(result.Data.Address == "DM7Yo7YqPtgMsGgphX9RAZFXFhu6Kd6JTT"); }