public void ClaimPayementReportsTest() { ClaimPaymentReportsResponse actualResponse = claim.GetClaimPaymentReport(); string expectedResponse = TestHelper.GetJson(TestResource.ExpectedResponse + "PaymentReports.json"); TestHelper.CompareProperties(expectedResponse, actualResponse.JsonResponse()); ClaimPaymentReportsResponse expectedObj = JsonConvert.DeserializeObject <ClaimPaymentReportsResponse>(expectedResponse); ClaimPaymentReportsResponse actualObj = JsonConvert.DeserializeObject <ClaimPaymentReportsResponse>(actualResponse.JsonResponse()); TestHelper.PropertyValuesAreEquals(actualObj, expectedObj); }