### Question:
AuditMessage { @Override public String toString() { return "Audit: " + user + "@" + remoteHost + " performed " + requestUrl + " (" + serverAddress + ")" + " at " + requestTimeISO9601; } AuditMessage(String user, String remoteAddress, String remoteHost,
                        String requestUrl, String serverAddress, String requestTimeISO9601); String getUser(); String getRemoteAddress(); String getRemoteHost(); String getRequestUrl(); String getServerAddress(); String getRequestTimeISO9601(); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { Assert.assertEquals(auditMessage.toString(), "Audit: falcon@LOCALHOST performed action (127.0.0.1) at 2014-09-15T20:56Z"); }