mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/advanced/configuration/TestFactoryObjectConfigModifierViewImpl.java
@SuppressWarnings("unchecked")
    @Test
    public void testUpdateAllPropertiesAsyncNoFactObj()
    {
        m_SUT = new FactoryObjectConfigModifierViewImpl();
        m_SUT.setGrowlMessageUtility(m_GrowlUtil);
        
        m_SUT.updateAllPropertiesAsync();
        
        verify(m_ConfigWrapper, never()).findChangedPropertiesAsync(eq(CONTROLLER_ID), 
                eq(FACTORY_CONF_NAME), anyList());
        verify(m_FactoryMgr, never()).createConfiguration(eq(CONTROLLER_ID), eq(m_BaseModel), anyList());
        verify(m_ConfigWrapper, never()).setConfigurationValueAsync(eq(CONTROLLER_ID), eq(PID), anyList());
    }
/**
     * Verify that update all props without a factory object set does nothing.
     */
Verify that update all props without a factory object set does nothing.
Verify that update all props without a factory object set does nothing .
@SuppressWarnings("unchecked")
    @Test
    public void testUpdateAllPropertiesAsyncNoFactObj()
    {
        m_SUT = new FactoryObjectConfigModifierViewImpl();
        m_SUT.setGrowlMessageUtility(m_GrowlUtil);
        m_SUT.updateAllPropertiesAsync();
        verify(m_ConfigWrapper, never()).findChangedPropertiesAsync(eq(CONTROLLER_ID), 
                eq(FACTORY_CONF_NAME), anyList());
        verify(m_FactoryMgr, never()).createConfiguration(eq(CONTROLLER_ID), eq(m_BaseModel), anyList());
        verify(m_ConfigWrapper, never()).setConfigurationValueAsync(eq(CONTROLLER_ID), eq(PID), anyList());
    }
@ SuppressWarnings ( "unchecked" ) @ Test public void testUpdateAllPropertiesAsyncNoFactObj ( ) { m_SUT = new FactoryObjectConfigModifierViewImpl ( ) ; m_SUT . setGrowlMessageUtility ( m_GrowlUtil ) ; m_SUT . updateAllPropertiesAsync ( ) ; verify ( m_ConfigWrapper , never ( ) ) . findChangedPropertiesAsync ( eq ( CONTROLLER_ID ) , eq ( FACTORY_CONF_NAME ) , anyList ( ) ) ; verify ( m_FactoryMgr , never ( ) ) . createConfiguration ( eq ( CONTROLLER_ID ) , eq ( m_BaseModel ) , anyList ( ) ) ; verify ( m_ConfigWrapper , never ( ) ) . setConfigurationValueAsync ( eq ( CONTROLLER_ID ) , eq ( PID ) , anyList ( ) ) ; }
Verify that update all props without a factory object set does nothing.
Verify that update all props without a factory object set does nothing .