@Test public void testCompareInnerClassField() { List<Map<String, Object>> list = ObjectToPatchMap.parseByComparingObjects(ado, ado2); System.out.println(list); assertTrue(listContainsMap(list, "/enterpriserole/affiliation", "NONE")); }
@Test public void testRemovedInnerClass() { List<Map<String, Object>> list = ObjectToPatchMap.parseByComparingObjects(ado, ado3); System.out.println(list); assertTrue(listOfMapContains(list, "path", "/enterpriserole/affiliation")); }
@Test public void testCompareField() { List<Map<String, Object>> list = ObjectToPatchMap.parseByComparingObjects(ado, ado2); System.out.println(list); assertTrue(listContainsMap(list, "/givenName", "Hell")); }