### Question:
ValidationResult implements Serializable { public void setCleanedBill(Bill cleanedBill) { this.cleanedBill = cleanedBill; }  List<ValidationMessage> getValidationMessages(); boolean hasMessages(); boolean hasWarnings(); boolean hasErrors(); boolean isValid(); void addMessage(Type type, String field, String messageKey); void addMessage(Type type, String field, String messageKey, String[] messageParameters); Bill getCleanedBill(); void setCleanedBill(Bill cleanedBill); String getDescription();  }### Answer:
@Test void setCleanedBill() { ValidationResult result = new ValidationResult(); result.setCleanedBill(SampleData.getExample2()); assertEquals(SampleData.getExample2(), result.getCleanedBill()); }