mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/data/TestBaseFactoryObjectDataManager.java
@Test
    public void testSetPidNoData() throws FactoryObjectInformationException, IllegalArgumentException, 
        PersistenceFailedException
    {
        //no need to mock data for this test
        UUID uuid = UUID.randomUUID();
        String pid = "setMe";
    
        try
        {
            m_SUT.setPid(uuid, pid);
            fail("Expected exception, invalid uuid");
        }
        catch (IllegalArgumentException e)
        {
            //expected
        }
    }
/**
     * Verify the behavior of setPid() when there is no factory data associated with the UUID
     * - An IllegalArgumentException should be thrown
     */
Verify the behavior of setPid() when there is no factory data associated with the UUID
- An IllegalArgumentException should be thrown
Verify the behavior of setPid () when there is no factory data associated with the UUID - An IllegalArgumentException should be thrown
@Test
    public void testSetPidNoData() throws FactoryObjectInformationException, IllegalArgumentException, 
        PersistenceFailedException
    {
        UUID uuid = UUID.randomUUID();
        String pid = "setMe";
        try
        {
            m_SUT.setPid(uuid, pid);
            fail("Expected exception, invalid uuid");
        }
        catch (IllegalArgumentException e)
        {
        }
    }
@ Test public void testSetPidNoData ( ) throws FactoryObjectInformationException , IllegalArgumentException , PersistenceFailedException { UUID uuid = UUID . randomUUID ( ) ; String pid = "setMe" ; try { m_SUT . setPid ( uuid , pid ) ; fail ( "Expected exception, invalid uuid" ) ; } catch ( IllegalArgumentException e ) { } }
Verify the behavior of setPid() when there is no factory data associated with the UUID
 - An IllegalArgumentException should be thrown
Verify the behavior of setPid () when there is no factory data associated with the UUID - An IllegalArgumentException should be thrown
//no need to mock data for this test //expected