### Question:
AlertMessage { public String getAlert() { return alert; } AlertMessage(String event, String alert, String error); String getEvent(); String getAlert(); String getError(); @Override String toString();  }### Answer:
@Test public void testGetAlert() throws Exception { Assert.assertEquals(alertMessage.getAlert(), "alert"); }