### Question:
QueryStatus { public String getMessage() { return message; } QueryStatus();  QueryStatus(QueryStatusEnum status, String message); @Override boolean equals(Object o); @Override int hashCode(); QueryStatusEnum getStatus(); void setStatus(QueryStatusEnum status); String getMessage(); void setMessage(String message);  }### Answer:
@Test public void testGetMessage() throws Exception { String testMessage = "Message for Unit Test"; QueryStatus.QueryStatusEnum testStatus = QueryStatus.QueryStatusEnum.WARNING; QueryStatus one = new QueryStatus(testStatus, testMessage); Assert.assertEquals("getMessage should return message passed to constructor.", testMessage, one.getMessage()); }