@Test(expected = IllegalArgumentException.class) public void cantAddNullComparisonListener() { getDifferenceEngine().addComparisonListener(null); }
@Override public void addComparisonListener(ComparisonListener l) { if (l == null) { throw new IllegalArgumentException(LISTENER_MUST_NOT_BE_NULL); } listeners.addComparisonListener(l); }
AbstractDifferenceEngine implements DifferenceEngine { @Override public void addComparisonListener(ComparisonListener l) { if (l == null) { throw new IllegalArgumentException(LISTENER_MUST_NOT_BE_NULL); } listeners.addComparisonListener(l); } }
AbstractDifferenceEngine implements DifferenceEngine { @Override public void addComparisonListener(ComparisonListener l) { if (l == null) { throw new IllegalArgumentException(LISTENER_MUST_NOT_BE_NULL); } listeners.addComparisonListener(l); } protected  AbstractDifferenceEngine(); }
AbstractDifferenceEngine implements DifferenceEngine { @Override public void addComparisonListener(ComparisonListener l) { if (l == null) { throw new IllegalArgumentException(LISTENER_MUST_NOT_BE_NULL); } listeners.addComparisonListener(l); } protected  AbstractDifferenceEngine(); @Override void addComparisonListener(ComparisonListener l); @Override void addMatchListener(ComparisonListener l); @Override void addDifferenceListener(ComparisonListener l); @Override void setNodeMatcher(NodeMatcher n); @Override void setDifferenceEvaluator(DifferenceEvaluator e); @Override void setComparisonController(ComparisonController c); @Override void setNamespaceContext(Map<String, String> prefix2uri); @Override void setAttributeFilter(Predicate<Attr> af); @Override void setNodeFilter(Predicate<Node> nf); }
AbstractDifferenceEngine implements DifferenceEngine { @Override public void addComparisonListener(ComparisonListener l) { if (l == null) { throw new IllegalArgumentException(LISTENER_MUST_NOT_BE_NULL); } listeners.addComparisonListener(l); } protected  AbstractDifferenceEngine(); @Override void addComparisonListener(ComparisonListener l); @Override void addMatchListener(ComparisonListener l); @Override void addDifferenceListener(ComparisonListener l); @Override void setNodeMatcher(NodeMatcher n); @Override void setDifferenceEvaluator(DifferenceEvaluator e); @Override void setComparisonController(ComparisonController c); @Override void setNamespaceContext(Map<String, String> prefix2uri); @Override void setAttributeFilter(Predicate<Attr> af); @Override void setNodeFilter(Predicate<Node> nf);  }