@Test public void testEmpty() { res = new ValidationResult(); assertFalse(res.hasFailures()); assertFalse(res.hasFailures(obj1)); assertFalse(res.hasFailures(null)); }
public boolean hasFailures() { return !failures.isEmpty(); }
ValidationResult implements Serializable { public boolean hasFailures() { return !failures.isEmpty(); } }
ValidationResult implements Serializable { public boolean hasFailures() { return !failures.isEmpty(); } ValidationResult(); }
ValidationResult implements Serializable { public boolean hasFailures() { return !failures.isEmpty(); } ValidationResult(); void addFailure(ValidationFailure failure); List<ValidationFailure> getFailures(); List<ValidationFailure> getFailures(Object source); boolean hasFailures(); boolean hasFailures(Object source); void clear(); @Override String toString(); }
ValidationResult implements Serializable { public boolean hasFailures() { return !failures.isEmpty(); } ValidationResult(); void addFailure(ValidationFailure failure); List<ValidationFailure> getFailures(); List<ValidationFailure> getFailures(Object source); boolean hasFailures(); boolean hasFailures(Object source); void clear(); @Override String toString();  }