mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestFactoryObjectCommands.java
@Test
    public void testGetUnknownExtension()
    {
        // replay
        try
        {
            m_SUT.getExtension(m_TestObject, "UnknownExtension");
            fail("Expected an exception");
        }
        catch (IllegalArgumentException e)
        {
            // verify
        }
    }
/**
     * Verify that an unknown extension throws an exception.
     */
Verify that an unknown extension throws an exception.
Verify that an unknown extension throws an exception .
@Test
    public void testGetUnknownExtension()
    {
        try
        {
            m_SUT.getExtension(m_TestObject, "UnknownExtension");
            fail("Expected an exception");
        }
        catch (IllegalArgumentException e)
        {
        }
    }
@ Test public void testGetUnknownExtension ( ) { try { m_SUT . getExtension ( m_TestObject , "UnknownExtension" ) ; fail ( "Expected an exception" ) ; } catch ( IllegalArgumentException e ) { } }
Verify that an unknown extension throws an exception.
Verify that an unknown extension throws an exception .
// replay // verify