mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/TestAbstractFactoryObject.java
@Test
    public void testGetExtension_InvalidType()
    {
        try
        {
            m_SUT.getExtension(Object.class);
            fail("Expecting exception as type is invalid");
        }
        catch (IllegalArgumentException e) {}
    }
/**
     * Verify if an invalid type is passed, an exception is thrown.
     */
Verify if an invalid type is passed, an exception is thrown.
Verify if an invalid type is passed an exception is thrown .
@Test
    public void testGetExtension_InvalidType()
    {
        try
        {
            m_SUT.getExtension(Object.class);
            fail("Expecting exception as type is invalid");
        }
        catch (IllegalArgumentException e) {}
    }
@ Test public void testGetExtension_InvalidType ( ) { try { m_SUT . getExtension ( Object . class ) ; fail ( "Expecting exception as type is invalid" ) ; } catch ( IllegalArgumentException e ) { } }
Verify if an invalid type is passed, an exception is thrown.
Verify if an invalid type is passed an exception is thrown .