public async Task Get_Client_Should_Not_Be_Null() { var request = new ClientRequest { TransactionId = "2827-1443515082-3" }; var response = await client.GetClient(request); response.Should().NotBeNull(); }
public static async Task <ClientModel> GetClient(string transactionId) { var response = await ClearsettleClient.GetClient(new ClientRequest { TransactionId = transactionId }); return(JsonConvert.DeserializeObject <ClientModel>(JsonConvert.SerializeObject(response.CustomerInfo))); }