mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestObservationMgrImpl.java
@Test
    public void testGetNonexistentObservation()
    {
        UUID obsUuid = UUID.randomUUID();
        
        when(m_ObservationStore.find(obsUuid)).thenReturn(null);
        
        assertThat(m_SUT.getObservation(obsUuid), is(nullValue()));
    }
/**
     * Verify that null is returned when trying to retrieve an observation that does not exist.
     */
Verify that null is returned when trying to retrieve an observation that does not exist.
Verify that null is returned when trying to retrieve an observation that does not exist .
@Test
    public void testGetNonexistentObservation()
    {
        UUID obsUuid = UUID.randomUUID();
        when(m_ObservationStore.find(obsUuid)).thenReturn(null);
        assertThat(m_SUT.getObservation(obsUuid), is(nullValue()));
    }
@ Test public void testGetNonexistentObservation ( ) { UUID obsUuid = UUID . randomUUID ( ) ; when ( m_ObservationStore . find ( obsUuid ) ) . thenReturn ( null ) ; assertThat ( m_SUT . getObservation ( obsUuid ) , is ( nullValue ( ) ) ) ; }
Verify that null is returned when trying to retrieve an observation that does not exist.
Verify that null is returned when trying to retrieve an observation that does not exist .