### Question:
DenialReason { public boolean isFraud() { return fraud; } DenialReason(String id, String reason, boolean fraud); String getId(); String getReason(); boolean isFraud(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void isFraud() { assertEquals(true, new DenialReason(null, null, true).isFraud()); }