private static final String Address = "http://localhost:8080/test";
@Test
public void testMapEvent() throws IOException, EndpointException {
Message message = getTestMessage();
Event event = new MessageToEventMapper().mapToEvent(message);
Assert.assertEquals(EventTypeEnum.REQ_IN, event.getEventType());
Assert.assertEquals("{interfaceNs}interfaceName", event.getMessageInfo().getPortType());
Assert.assertEquals("{namespace}opName", event.getMessageInfo().getOperationName());
Assert.assertEquals(TransportType, event.getMessageInfo().getTransportType());
Assert.assertEquals(FlowID, event.getMessageInfo().getFlowId());