mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/asset/data/TestAssetFactoryObjectDataManagerImpl.java
@Test
    public void testGetCoordinatesNoData() throws FactoryObjectInformationException, ObjectConverterException, 
        IllegalArgumentException, PersistenceFailedException, InvalidProtocolBufferException
    {
        //activate to create converters 
        m_SUT.activate();
        
        when(m_PersistentDataStore.find(m_UUID)).thenReturn(null);
        
        Map<String, Coordinates> newCoords = m_SUT.getCoordinates(m_UUID);
        
        //verify
        assertThat(newCoords, is(nullValue()));
    }
/**
     * Verify getting of coordinates for an asset.
     */
Verify getting of coordinates for an asset.
Verify getting of coordinates for an asset .
@Test
    public void testGetCoordinatesNoData() throws FactoryObjectInformationException, ObjectConverterException, 
        IllegalArgumentException, PersistenceFailedException, InvalidProtocolBufferException
    {
        m_SUT.activate();
        when(m_PersistentDataStore.find(m_UUID)).thenReturn(null);
        Map<String, Coordinates> newCoords = m_SUT.getCoordinates(m_UUID);
        assertThat(newCoords, is(nullValue()));
    }
@ Test public void testGetCoordinatesNoData ( ) throws FactoryObjectInformationException , ObjectConverterException , IllegalArgumentException , PersistenceFailedException , InvalidProtocolBufferException { m_SUT . activate ( ) ; when ( m_PersistentDataStore . find ( m_UUID ) ) . thenReturn ( null ) ; Map < String , Coordinates > newCoords = m_SUT . getCoordinates ( m_UUID ) ; assertThat ( newCoords , is ( nullValue ( ) ) ) ; }
Verify getting of coordinates for an asset.
Verify getting of coordinates for an asset .
//activate to create converters  //verify