assertEquals(EventStatus.FAILURE, wfFailMessage.getEventStatus());
assertEquals("user1", wfFailMessage.getUser());
assertEquals("wf-app-name1", wfFailMessage.getAppName());
assertEquals("dummyErrorCode", wfFailMessage.getErrorCode());
assertEquals("dummyErrorMessage", wfFailMessage.getErrorMessage());
wfEventListener.destroy();
}
catch (Exception e) {
e.printStackTrace();
fail(e.getMessage());
}