mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestCommandNodeModel.java
@Test
    public void testIsAddSupported() throws ReflectionsUtilException
    {
        assertThat(m_SUT.isAddSupported(), is(false));
        
        m_SUT = new CommandNodeModel("listField", List.class, true, m_TestObject, m_GrowlUtil);
        assertThat(m_SUT.isAddSupported(), is(true));
       
        m_SUT = new CommandNodeModel("nullableField", Float.class, true, m_TestObject, m_GrowlUtil);
        m_SUT.setValue(null);
        assertThat(m_SUT.isAddSupported(), is(true));
    }
/**
     * Test the is add supported method.
     * Verify the correct boolean value is returned.
     */
Test the is add supported method.
Verify the correct boolean value is returned.
Test the is add supported method . Verify the correct boolean value is returned .
@Test
    public void testIsAddSupported() throws ReflectionsUtilException
    {
        assertThat(m_SUT.isAddSupported(), is(false));
        m_SUT = new CommandNodeModel("listField", List.class, true, m_TestObject, m_GrowlUtil);
        assertThat(m_SUT.isAddSupported(), is(true));
        m_SUT = new CommandNodeModel("nullableField", Float.class, true, m_TestObject, m_GrowlUtil);
        m_SUT.setValue(null);
        assertThat(m_SUT.isAddSupported(), is(true));
    }
@ Test public void testIsAddSupported ( ) throws ReflectionsUtilException { assertThat ( m_SUT . isAddSupported ( ) , is ( false ) ) ; m_SUT = new CommandNodeModel ( "listField" , List . class , true , m_TestObject , m_GrowlUtil ) ; assertThat ( m_SUT . isAddSupported ( ) , is ( true ) ) ; m_SUT = new CommandNodeModel ( "nullableField" , Float . class , true , m_TestObject , m_GrowlUtil ) ; m_SUT . setValue ( null ) ; assertThat ( m_SUT . isAddSupported ( ) , is ( true ) ) ; }
Test the is add supported method.
Test the is add supported method .