mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/mp/TestCurrentMissionMgrImpl.java
private Event mockAnEvent(int systemId, String messageType, Object dataMessage)
    {
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(RemoteConstants.EVENT_PROP_SOURCE_ID, systemId);
        props.put(RemoteConstants.EVENT_PROP_MESSAGE_TYPE, messageType);
        props.put(RemoteConstants.EVENT_PROP_DATA_MESSAGE, dataMessage);
        
        return new Event(RemoteConstants.TOPIC_MESSAGE_RECEIVED, props);
    }
/*
     * Mock a TH message event.
     */
Mock a TH message event.
Mock a TH message event .
private Event mockAnEvent(int systemId, String messageType, Object dataMessage)
    {
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(RemoteConstants.EVENT_PROP_SOURCE_ID, systemId);
        props.put(RemoteConstants.EVENT_PROP_MESSAGE_TYPE, messageType);
        props.put(RemoteConstants.EVENT_PROP_DATA_MESSAGE, dataMessage);
        return new Event(RemoteConstants.TOPIC_MESSAGE_RECEIVED, props);
    }
private Event mockAnEvent ( int systemId , String messageType , Object dataMessage ) { final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( RemoteConstants . EVENT_PROP_SOURCE_ID , systemId ) ; props . put ( RemoteConstants . EVENT_PROP_MESSAGE_TYPE , messageType ) ; props . put ( RemoteConstants . EVENT_PROP_DATA_MESSAGE , dataMessage ) ; return new Event ( RemoteConstants . TOPIC_MESSAGE_RECEIVED , props ) ; }
Mock a TH message event.
Mock a TH message event .