mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestRelatedObservationViewImpl.java
private void mockObservations()
    {
        m_GuiObs1 = mock(GuiObservation.class);
        m_GuiObs2 = mock(GuiObservation.class);
        m_GuiObs3 = mock(GuiObservation.class);
        
        when(m_ObsMgr.getObservation(OBS_UUID_1)).thenReturn(m_GuiObs1);
        when(m_ObsMgr.getObservation(OBS_UUID_2)).thenReturn(m_GuiObs2);
        when(m_ObsMgr.getObservation(OBS_UUID_3)).thenReturn(m_GuiObs3);
    }
/**
     * Method that mocks the observations returned by the observation manager.
     */
Method that mocks the observations returned by the observation manager.
Method that mocks the observations returned by the observation manager .
private void mockObservations()
    {
        m_GuiObs1 = mock(GuiObservation.class);
        m_GuiObs2 = mock(GuiObservation.class);
        m_GuiObs3 = mock(GuiObservation.class);
        when(m_ObsMgr.getObservation(OBS_UUID_1)).thenReturn(m_GuiObs1);
        when(m_ObsMgr.getObservation(OBS_UUID_2)).thenReturn(m_GuiObs2);
        when(m_ObsMgr.getObservation(OBS_UUID_3)).thenReturn(m_GuiObs3);
    }
private void mockObservations ( ) { m_GuiObs1 = mock ( GuiObservation . class ) ; m_GuiObs2 = mock ( GuiObservation . class ) ; m_GuiObs3 = mock ( GuiObservation . class ) ; when ( m_ObsMgr . getObservation ( OBS_UUID_1 ) ) . thenReturn ( m_GuiObs1 ) ; when ( m_ObsMgr . getObservation ( OBS_UUID_2 ) ) . thenReturn ( m_GuiObs2 ) ; when ( m_ObsMgr . getObservation ( OBS_UUID_3 ) ) . thenReturn ( m_GuiObs3 ) ; }
Method that mocks the observations returned by the observation manager.
Method that mocks the observations returned by the observation manager .