mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/data/TestBaseFactoryObjectDataManager.java
@Test
    public void testGetPidNoConfig() throws FactoryObjectInformationException
    {
        //mock factory object information - leave out PID
        UUID uuid = UUID.randomUUID();
        FactoryObjectData factData = createFactoryObjectData("name", null);
        createPersistentData(uuid, factData.toByteArray());
    
        //retrieve the PID
        String pid = m_SUT.getPid(uuid);
    
        assertThat(pid, is(nullValue()));
    }
/**
     * Verify null is returned if no PID is associated with the data
     * - given a UUID associated with data in the data store null should be returned if no pid is found in the data
     */
Verify null is returned if no PID is associated with the data
- given a UUID associated with data in the data store null should be returned if no pid is found in the data
Verify null is returned if no PID is associated with the data - given a UUID associated with data in the data store null should be returned if no pid is found in the data
@Test
    public void testGetPidNoConfig() throws FactoryObjectInformationException
    {
        UUID uuid = UUID.randomUUID();
        FactoryObjectData factData = createFactoryObjectData("name", null);
        createPersistentData(uuid, factData.toByteArray());
        String pid = m_SUT.getPid(uuid);
        assertThat(pid, is(nullValue()));
    }
@ Test public void testGetPidNoConfig ( ) throws FactoryObjectInformationException { UUID uuid = UUID . randomUUID ( ) ; FactoryObjectData factData = createFactoryObjectData ( "name" , null ) ; createPersistentData ( uuid , factData . toByteArray ( ) ) ; String pid = m_SUT . getPid ( uuid ) ; assertThat ( pid , is ( nullValue ( ) ) ) ; }
Verify null is returned if no PID is associated with the data
 - given a UUID associated with data in the data store null should be returned if no pid is found in the data
Verify null is returned if no PID is associated with the data - given a UUID associated with data in the data store null should be returned if no pid is found in the data
//mock factory object information - leave out PID //retrieve the PID