@Test void shouldSeeEmptyDiffNodes() { Diff diff = Diff.create("{}", "{}", "", "", commonConfig()); diff.similar(); assertThat(listener.getDifferences()) .isEmpty(); }
public List<Difference> getDifferences() { return differences; }
JsonPatchListener implements DifferenceListener { public List<Difference> getDifferences() { return differences; } }
JsonPatchListener implements DifferenceListener { public List<Difference> getDifferences() { return differences; }  }
JsonPatchListener implements DifferenceListener { public List<Difference> getDifferences() { return differences; }  @Override void diff(final Difference difference, final DifferenceContext differenceContext); List<Difference> getDifferences(); DifferenceContext getContext(); DiffModel getDiffModel(); @SuppressWarnings({"all", "unchecked"}) String getJsonPatch(); }
JsonPatchListener implements DifferenceListener { public List<Difference> getDifferences() { return differences; }  @Override void diff(final Difference difference, final DifferenceContext differenceContext); List<Difference> getDifferences(); DifferenceContext getContext(); DiffModel getDiffModel(); @SuppressWarnings({"all", "unchecked"}) String getJsonPatch();  }