public void should_simple_synchronous_call_isaddressvalid_with_bad_address_returns_false() { AddressClient client = new AddressClient(); AddressValid result = client.IsAddressValid(Network.Doge, Consts.Wrong); Assert.IsNotNull(result); Assert.IsTrue(result.Status == Consts.Success); Assert.IsTrue(!result.Data.IsValid); }
public void simple_synchronous_call_isaddressvalid_returns_result_with_proxy() { AddressClient client = new AddressClient(); AddressValid result = client.IsAddressValid(Network.Doge, "DM7Yo7YqPtgMsGgphX9RAZFXFhu6Kd6JTT"); Assert.IsNotNull(result); Assert.IsTrue(result.Status == Consts.Success); Assert.IsTrue(result.Data.Address == "DM7Yo7YqPtgMsGgphX9RAZFXFhu6Kd6JTT"); Assert.IsTrue(result.Data.IsValid); }