mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestCommandNodeModel.java
@Test
    public void testIsDeleteSupported() throws ReflectionsUtilException
    {
        assertThat(m_SUT.isDeleteSupported(), is(false));
        
        m_SUT = new CommandNodeModel("listInt", Integer.class, true, m_TestObject.getListField(), m_GrowlUtil);
        assertThat(m_SUT.isDeleteSupported(), is(true));
        
        m_SUT = new CommandNodeModel("nullableField", Float.class, true, m_TestObject, m_GrowlUtil);
        m_SUT.setValue("5.0");
        assertThat(m_SUT.isDeleteSupported(), is(true));
    }
/**
     * Test the is delete supported method.
     * Verify the correct boolean value is returned.
     */
Test the is delete supported method.
Verify the correct boolean value is returned.
Test the is delete supported method . Verify the correct boolean value is returned .
@Test
    public void testIsDeleteSupported() throws ReflectionsUtilException
    {
        assertThat(m_SUT.isDeleteSupported(), is(false));
        m_SUT = new CommandNodeModel("listInt", Integer.class, true, m_TestObject.getListField(), m_GrowlUtil);
        assertThat(m_SUT.isDeleteSupported(), is(true));
        m_SUT = new CommandNodeModel("nullableField", Float.class, true, m_TestObject, m_GrowlUtil);
        m_SUT.setValue("5.0");
        assertThat(m_SUT.isDeleteSupported(), is(true));
    }
@ Test public void testIsDeleteSupported ( ) throws ReflectionsUtilException { assertThat ( m_SUT . isDeleteSupported ( ) , is ( false ) ) ; m_SUT = new CommandNodeModel ( "listInt" , Integer . class , true , m_TestObject . getListField ( ) , m_GrowlUtil ) ; assertThat ( m_SUT . isDeleteSupported ( ) , is ( true ) ) ; m_SUT = new CommandNodeModel ( "nullableField" , Float . class , true , m_TestObject , m_GrowlUtil ) ; m_SUT . setValue ( "5.0" ) ; assertThat ( m_SUT . isDeleteSupported ( ) , is ( true ) ) ; }
Test the is delete supported method.
Test the is delete supported method .