### Question:
DenialReason { public String getReason() { return reason; } 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 getReason() { assertEquals("expected", new DenialReason(null, "expected", false).getReason()); }