mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/data/TestBaseFactoryObjectDataManager.java
@Test
    public void testClearPidNoData() throws FactoryObjectInformationException, IllegalArgumentException, 
        PersistenceFailedException
    {
        //Don't mock the data, its not intended to be in the datastore
        UUID uuid = UUID.randomUUID();
        
        //run the method, expecting an exception
        try
        {
            m_SUT.clearPid(uuid);
            fail("Expected exception for invalid uuid");
        }
        catch (IllegalArgumentException e)
        {
            //Expected exception, no specific cause needs to be checked.
        }
    }
/**
     * Verify that an exception is thrown if there is no object data for the given uuid
     * - Factory data is not in the persistent store for the uuid, no updates can be made
     */
Verify that an exception is thrown if there is no object data for the given uuid
- Factory data is not in the persistent store for the uuid, no updates can be made
Verify that an exception is thrown if there is no object data for the given uuid - Factory data is not in the persistent store for the uuid no updates can be made
@Test
    public void testClearPidNoData() throws FactoryObjectInformationException, IllegalArgumentException, 
        PersistenceFailedException
    {
        UUID uuid = UUID.randomUUID();
        try
        {
            m_SUT.clearPid(uuid);
            fail("Expected exception for invalid uuid");
        }
        catch (IllegalArgumentException e)
        {
        }
    }
@ Test public void testClearPidNoData ( ) throws FactoryObjectInformationException , IllegalArgumentException , PersistenceFailedException { UUID uuid = UUID . randomUUID ( ) ; try { m_SUT . clearPid ( uuid ) ; fail ( "Expected exception for invalid uuid" ) ; } catch ( IllegalArgumentException e ) { } }
Verify that an exception is thrown if there is no object data for the given uuid
 - Factory data is not in the persistent store for the uuid, no updates can be made
Verify that an exception is thrown if there is no object data for the given uuid - Factory data is not in the persistent store for the uuid no updates can be made
//Don't mock the data, its not intended to be in the datastore //run the method, expecting an exception //Expected exception, no specific cause needs to be checked.