Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
rockoder committed Mar 5, 2019
1 parent c2cb4d4 commit 9c62f1e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ public void givenJsonString_whenIncorrectDeserializing_thenThrowClassCastExcepti
Gson gson = new Gson();
List<MyClass> list = gson.fromJson(inputString, ArrayList.class);

assertEquals(2, list.size());
int id = list.get(0).getId();
assertEquals(1, list.get(0).getId());
}

@Test public void givenJsonString_whenDeserializing_thenReturnListOfMyClass() {
Expand Down

0 comments on commit 9c62f1e

Please sign in to comment.