public async Task should_get_accountId_by_phoneNumber() { var response = await Client.Account.GetAccountIdsByPhoneNumber(new[] { "09903024656" }, false); Assert.IsFalse(response == null); GetAccountIdsResponse first = response.FirstOrDefault(); Assert.IsTrue(first != null && first.IsValid); }
public async Task should_not_found_accountId() { var response = await Client.Account.GetAccountIdsByPhoneNumber(new[] { "999999999a" }, false); Assert.IsFalse(response == null); GetAccountIdsResponse first = response.FirstOrDefault(); Assert.IsFalse(first != null && first.IsValid); Assert.IsTrue(first != null && first.Result == null); }