mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetMgrImpl.java
private Event mockEventObjectNameUpdated(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(FactoryDescriptor.EVENT_PROP_OBJ_NAME, "splooosh");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_UUID, uuid2.toString());
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_PID, "PID");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, "Asset");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_TYPE, Asset.class.getName());
        props.put(RemoteConstants.REMOTE_EVENT_PROP_CONTROLLER_ID, systemId);
        //the event
        return new Event(FactoryDescriptor.TOPIC_FACTORY_OBJ_NAME_UPDATED + RemoteConstants.REMOTE_TOPIC_SUFFIX, props);
    }
/**
     * Used to mock a message from a remote controller representing an asset's name was successfully updated. 
     */
Used to mock a message from a remote controller representing an asset's name was successfully updated.
Used to mock a message from a remote controller representing an asset ' s name was successfully updated .
private Event mockEventObjectNameUpdated(final int systemId)
    {
        m_SUT.getAssetsForControllerAsync(systemId);
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_NAME, "splooosh");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_UUID, uuid2.toString());
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_PID, "PID");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, "Asset");
        props.put(FactoryDescriptor.EVENT_PROP_OBJ_TYPE, Asset.class.getName());
        props.put(RemoteConstants.REMOTE_EVENT_PROP_CONTROLLER_ID, systemId);
        return new Event(FactoryDescriptor.TOPIC_FACTORY_OBJ_NAME_UPDATED + RemoteConstants.REMOTE_TOPIC_SUFFIX, props);
    }
private Event mockEventObjectNameUpdated ( final int systemId ) { m_SUT . getAssetsForControllerAsync ( systemId ) ; final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_NAME , "splooosh" ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_UUID , uuid2 . toString ( ) ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_PID , "PID" ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_BASE_TYPE , "Asset" ) ; props . put ( FactoryDescriptor . EVENT_PROP_OBJ_TYPE , Asset . class . getName ( ) ) ; props . put ( RemoteConstants . REMOTE_EVENT_PROP_CONTROLLER_ID , systemId ) ; return new Event ( FactoryDescriptor . TOPIC_FACTORY_OBJ_NAME_UPDATED + RemoteConstants . REMOTE_TOPIC_SUFFIX , props ) ; }
Used to mock a message from a remote controller representing an asset's name was successfully updated.
Used to mock a message from a remote controller representing an asset ' s name was successfully updated .
//Call to add controller to list. // properties for the event //the event