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