mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/data/TestBaseFactoryObjectDataManager.java
@Test
    public void testGetNameNoData() throws FactoryObjectInformationException, IllegalArgumentException, 
        PersistenceFailedException, InvalidProtocolBufferException
    {      
        //the UUID
        UUID uuid = UUID.randomUUID();
        
        //no need to mock data, testing case where non is in the data store

        //call to set a name
        try
        {
            m_SUT.getName(uuid);
            fail("Exception expected, there is no data associate with the uuid");
        }
        catch (final IllegalArgumentException ex)
        {
            //exception expected, no need to check for a specific cause
        }       
    }
/**
     * Verify the behavior of get name when there is no data in the persistent data store for the given UUID.
     * - Method is expected to throw an IllegalArgumentException
     */
Verify the behavior of get name when there is no data in the persistent data store for the given UUID.
- Method is expected to throw an IllegalArgumentException
Verify the behavior of get name when there is no data in the persistent data store for the given UUID . - Method is expected to throw an IllegalArgumentException
@Test
    public void testGetNameNoData() throws FactoryObjectInformationException, IllegalArgumentException, 
        PersistenceFailedException, InvalidProtocolBufferException
    {      
        UUID uuid = UUID.randomUUID();
        try
        {
            m_SUT.getName(uuid);
            fail("Exception expected, there is no data associate with the uuid");
        }
        catch (final IllegalArgumentException ex)
        {
        }       
    }
@ Test public void testGetNameNoData ( ) throws FactoryObjectInformationException , IllegalArgumentException , PersistenceFailedException , InvalidProtocolBufferException { UUID uuid = UUID . randomUUID ( ) ; try { m_SUT . getName ( uuid ) ; fail ( "Exception expected, there is no data associate with the uuid" ) ; } catch ( final IllegalArgumentException ex ) { } }
Verify the behavior of get name when there is no data in the persistent data store for the given UUID.
Verify the behavior of get name when there is no data in the persistent data store for the given UUID .
//the UUID //no need to mock data, testing case where non is in the data store //call to set a name //exception expected, no need to check for a specific cause