mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/advanced/configuration/TestFactoryObjectConfigModifierViewImpl.java
private UnmodifiableConfigMetatypeModel mockUnmodifiableConfigMetatypeModel()
    {
        UnmodifiableConfigMetatypeModel model = mock(UnmodifiableConfigMetatypeModel.class);
        
        List<UnmodifiablePropertyModel> list = new ArrayList<>();
        list.add(m_Property1);
        list.add(m_Property2);
        
        when(model.getProperties()).thenReturn(list);
        
        return model;
    }
/**
     * Create a mocked instance of the UnmodifiableConfigMetatypeModel instance.
     * @return
     *  the mocked object
     */
Create a mocked instance of the UnmodifiableConfigMetatypeModel instance.
@return
the mocked object
Create a mocked instance of the UnmodifiableConfigMetatypeModel instance . @return the mocked object
private UnmodifiableConfigMetatypeModel mockUnmodifiableConfigMetatypeModel()
    {
        UnmodifiableConfigMetatypeModel model = mock(UnmodifiableConfigMetatypeModel.class);
        List<UnmodifiablePropertyModel> list = new ArrayList<>();
        list.add(m_Property1);
        list.add(m_Property2);
        when(model.getProperties()).thenReturn(list);
        return model;
    }
private UnmodifiableConfigMetatypeModel mockUnmodifiableConfigMetatypeModel ( ) { UnmodifiableConfigMetatypeModel model = mock ( UnmodifiableConfigMetatypeModel . class ) ; List < UnmodifiablePropertyModel > list = new ArrayList < > ( ) ; list . add ( m_Property1 ) ; list . add ( m_Property2 ) ; when ( model . getProperties ( ) ) . thenReturn ( list ) ; return model ; }
Create a mocked instance of the UnmodifiableConfigMetatypeModel instance.
Create a mocked instance of the UnmodifiableConfigMetatypeModel instance .