mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestObservationMgrImpl.java
@Test
    public void testGetDisplayObservationsNoObservations()
    {
        AssetModel model1 = mock(AssetModel.class);
        
        List<GuiObservation> listObs = m_SUT.getObservations().load(0, 10, null, null, null);
        
        assertThat(listObs.size(), is(0));
        
        when(m_AssetDisplayHelper.getSelectedFactoryObject()).thenReturn(model1);
        listObs = m_SUT.getObservations().load(0, 10, null, null, null);
        
        assertThat(listObs.size(), is(0));
    }
/**
     * Verify that getting observations for models that have no observations
     * will return an empty list when argument is null or a model.
     */
Verify that getting observations for models that have no observations
will return an empty list when argument is null or a model.
Verify that getting observations for models that have no observations will return an empty list when argument is null or a model .
@Test
    public void testGetDisplayObservationsNoObservations()
    {
        AssetModel model1 = mock(AssetModel.class);
        List<GuiObservation> listObs = m_SUT.getObservations().load(0, 10, null, null, null);
        assertThat(listObs.size(), is(0));
        when(m_AssetDisplayHelper.getSelectedFactoryObject()).thenReturn(model1);
        listObs = m_SUT.getObservations().load(0, 10, null, null, null);
        assertThat(listObs.size(), is(0));
    }
@ Test public void testGetDisplayObservationsNoObservations ( ) { AssetModel model1 = mock ( AssetModel . class ) ; List < GuiObservation > listObs = m_SUT . getObservations ( ) . load ( 0 , 10 , null , null , null ) ; assertThat ( listObs . size ( ) , is ( 0 ) ) ; when ( m_AssetDisplayHelper . getSelectedFactoryObject ( ) ) . thenReturn ( model1 ) ; listObs = m_SUT . getObservations ( ) . load ( 0 , 10 , null , null , null ) ; assertThat ( listObs . size ( ) , is ( 0 ) ) ; }
Verify that getting observations for models that have no observations
 will return an empty list when argument is null or a model.
Verify that getting observations for models that have no observations will return an empty list when argument is null or a model .