mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/impl/TestFactoryConfigurationService.java
@Test
    public void testGetOCDException()
    {
        try
        {
            m_SUT.getObjectClassDefinition("newCar", null);
            fail("Expected because pid isn't known.");
        }
        catch (IllegalStateException e)
        {
            //expected as the pid isn't known.
        }
    }
/**
     * Verify exception if the passed PID is unknown.
     */
Verify exception if the passed PID is unknown.
Verify exception if the passed PID is unknown .
@Test
    public void testGetOCDException()
    {
        try
        {
            m_SUT.getObjectClassDefinition("newCar", null);
            fail("Expected because pid isn't known.");
        }
        catch (IllegalStateException e)
        {
        }
    }
@ Test public void testGetOCDException ( ) { try { m_SUT . getObjectClassDefinition ( "newCar" , null ) ; fail ( "Expected because pid isn't known." ) ; } catch ( IllegalStateException e ) { } }
Verify exception if the passed PID is unknown.
Verify exception if the passed PID is unknown .
//expected as the pid isn't known.