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