mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetMgrImpl.java
private Event mockControllerRemovedEvent(final int systemId)
    {
        //Call to add controller to list.
        m_SUT.getAssetsForControllerAsync(systemId);
        
        // properties for the event
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, systemId);
        //the event
        return new Event(ControllerMgr.TOPIC_CONTROLLER_REMOVED, props);
    }
/**
     * Create an event that mimics a controller being removed.
     * @param systemId
     *     the system id to be used as the removed controller id
     * @return
     *     an event that is of the type and structure expected when a controller is removed
     */
Create an event that mimics a controller being removed.
@param systemId
the system id to be used as the removed controller id
@return
an event that is of the type and structure expected when a controller is removed
Create an event that mimics a controller being removed . @param systemId the system id to be used as the removed controller id @return an event that is of the type and structure expected when a controller is removed
private Event mockControllerRemovedEvent(final int systemId)
    {
        m_SUT.getAssetsForControllerAsync(systemId);
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, systemId);
        return new Event(ControllerMgr.TOPIC_CONTROLLER_REMOVED, props);
    }
private Event mockControllerRemovedEvent ( final int systemId ) { m_SUT . getAssetsForControllerAsync ( systemId ) ; final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( SharedPropertyConstants . EVENT_PROP_CONTROLLER_ID , systemId ) ; return new Event ( ControllerMgr . TOPIC_CONTROLLER_REMOVED , props ) ; }
Create an event that mimics a controller being removed.
Create an event that mimics a controller being removed .
//Call to add controller to list. // properties for the event //the event