public async Task TestHttpsApiRestShApiVU() { // Parameters for the API call Models.UserVerificationResponseInput input = new Models.UserVerificationResponseInput(); input.User = null; input.Code = null; // Perform API call Models.VerifyUserModelResponse result = null; try { result = await controller.UserVerificationResponseAsync(input); } catch (APIException) {}; // Test response code Assert.AreEqual(200, httpCallBackHandler.Response.StatusCode, "Status should be 200"); // Test whether the captured response is as we expected Assert.IsNotNull(result, "Result should exist"); Assert.AreEqual("{\r\n \"request\": \"REQUEST TYPE\",\r\n \"correct\": \"RETURNS IF 2FA TOKEN IS CORRECT\",\r\n \"id\": \"TRANSACTION ID\"\r\n}", TestHelper.ConvertStreamToString(httpCallBackHandler.Response.RawBody), "Response body should match exactly (string literal match)"); }