public void Enroll_Returns_ValidResponse() { var response = _client.Direct3DSEnroll(_request); Assert.IsFalse(string.IsNullOrEmpty(response.Default3dsUrl)); Assert.AreNotEqual(0, response.TraceId); Assert.IsFalse(string.IsNullOrEmpty(response.AccessCode)); Assert.IsNull(response.Errors); }
private Direct3DSVerifyRequest Generate3DSVerifyRequest() { var enrollResponse = _client.Direct3DSEnroll(TestUtil.CreateEnrollRequest()); return(new Direct3DSVerifyRequest() { TraceId = enrollResponse.TraceId, AccessCode = enrollResponse.AccessCode }); }