mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/TestFactoryRegistry.java
@Test
    public void testCreateNewObjectNullProps() throws IllegalArgumentException,
        FactoryException, FactoryObjectInformationException
    {
        try
        {
            m_SUT.createNewObject(m_FactoryDescriptor, "name", null);
            fail("expecting exception");
        }
        catch (NullPointerException e)
        {
            //expecting exception
        }
    }
/**
     * Verify exception if null properties are passed into call to createNewObject
     */
Verify exception if null properties are passed into call to createNewObject
Verify exception if null properties are passed into call to createNewObject
@Test
    public void testCreateNewObjectNullProps() throws IllegalArgumentException,
        FactoryException, FactoryObjectInformationException
    {
        try
        {
            m_SUT.createNewObject(m_FactoryDescriptor, "name", null);
            fail("expecting exception");
        }
        catch (NullPointerException e)
        {
        }
    }
@ Test public void testCreateNewObjectNullProps ( ) throws IllegalArgumentException , FactoryException , FactoryObjectInformationException { try { m_SUT . createNewObject ( m_FactoryDescriptor , "name" , null ) ; fail ( "expecting exception" ) ; } catch ( NullPointerException e ) { } }
Verify exception if null properties are passed into call to createNewObject
Verify exception if null properties are passed into call to createNewObject
//expecting exception