assertEquals(MessageType.JOB, wfStartMessage.getMessageType());
assertEquals(AppType.WORKFLOW_JOB, wfStartMessage.getAppType());
assertEquals(EventStatus.STARTED, wfStartMessage.getEventStatus());
assertEquals("user1", wfStartMessage.getUser());
assertEquals("wf-app-name1", wfStartMessage.getAppName());
wfEventListener.destroy();
}
catch (Exception e) {
e.printStackTrace();
fail(e.getMessage());
}