minor change

This commit is contained in:
Ganesh Pagade 2019-03-05 22:27:46 +05:30
parent c2cb4d4bc0
commit 9c62f1ea0c
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ public class GsonAdvanceUnitTest {
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() {