mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/TestAbstractFactoryObject.java
@Test
    public void testGetProperties_FailToRetrieveConfiguration() throws Exception
    {
        doThrow(new IOException()).when(m_ConfigAdmin).listConfigurations(anyString());
        try
        {
            m_SUT.getProperties();
            fail("Expecting exception");
        }
        catch (IllegalStateException e)
        {
        }
    }
/**
     * Verify that if an error occurs while trying to retrieve a configuration that an 
     * exception is thrown.
     */
Verify that if an error occurs while trying to retrieve a configuration that an
exception is thrown.
Verify that if an error occurs while trying to retrieve a configuration that an exception is thrown .
@Test
    public void testGetProperties_FailToRetrieveConfiguration() throws Exception
    {
        doThrow(new IOException()).when(m_ConfigAdmin).listConfigurations(anyString());
        try
        {
            m_SUT.getProperties();
            fail("Expecting exception");
        }
        catch (IllegalStateException e)
        {
        }
    }
@ Test public void testGetProperties_FailToRetrieveConfiguration ( ) throws Exception { doThrow ( new IOException ( ) ) . when ( m_ConfigAdmin ) . listConfigurations ( anyString ( ) ) ; try { m_SUT . getProperties ( ) ; fail ( "Expecting exception" ) ; } catch ( IllegalStateException e ) { } }
Verify that if an error occurs while trying to retrieve a configuration that an
 exception is thrown.
Verify that if an error occurs while trying to retrieve a configuration that an exception is thrown .