mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/observation/TestRemoteObservationListener.java
private Event createObsEvent()
    {
        Observation obs = mock(Observation.class);
        // properties for the event
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(ObservationStore.EVENT_PROP_OBSERVATION, obs);

        //the event
        return new Event(ObservationStore.TOPIC_OBSERVATION_PERSISTED_WITH_OBS, props);
    }
/**
     * Create an event with an observation, this mimics the locally posted event that happens when a remote event is
     * received that contains an observation. 
     */
Create an event with an observation, this mimics the locally posted event that happens when a remote event is
received that contains an observation.
Create an event with an observation this mimics the locally posted event that happens when a remote event is received that contains an observation .
private Event createObsEvent()
    {
        Observation obs = mock(Observation.class);
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(ObservationStore.EVENT_PROP_OBSERVATION, obs);
        return new Event(ObservationStore.TOPIC_OBSERVATION_PERSISTED_WITH_OBS, props);
    }
private Event createObsEvent ( ) { Observation obs = mock ( Observation . class ) ; final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( ObservationStore . EVENT_PROP_OBSERVATION , obs ) ; return new Event ( ObservationStore . TOPIC_OBSERVATION_PERSISTED_WITH_OBS , props ) ; }
Create an event with an observation, this mimics the locally posted event that happens when a remote event is
 received that contains an observation.
Create an event with an observation this mimics the locally posted event that happens when a remote event is received that contains an observation .
// properties for the event //the event