Skip to content

Commit

Permalink
Removed plurals from variable names. (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Jan 2, 2018
1 parent 5b8de1d commit 732fe02
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/java/com/bunq/sdk/http/PaginationScenarioTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ public void apiScenarioPaymentListingWithPaginationTest() {
BunqResponse<List<Payment>> responsePreviousNext =
ListPayments(paginationPrevious.getUrlParamsNextPage());

ArrayList<Payment> paymentsActual = new ArrayList<>();
paymentsActual.addAll(responsePreviousNext.getValue());
paymentsActual.addAll(responsePrevious.getValue());
String paymentsExpectedSerialized = gson.toJson(paymentsExpected);
String paymentsActualSerialized = gson.toJson(paymentsActual);
ArrayList<Payment> allPaymentActual = new ArrayList<>();
allPaymentActual.addAll(responsePreviousNext.getValue());
allPaymentActual.addAll(responsePrevious.getValue());
String allPaymentExpectedSerialized = gson.toJson(paymentsExpected);
String allPaymentActualSerialized = gson.toJson(allPaymentActual);

Assert.assertEquals(paymentsExpectedSerialized, paymentsActualSerialized);
Assert.assertEquals(allPaymentExpectedSerialized, allPaymentActualSerialized);
}
}

0 comments on commit 732fe02

Please sign in to comment.