mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/general/TestCapabilitiesTree.java
@Test
    public void testNullCapsObject()
    {
        //pass null
        TreeNode node = m_SUT.getRoot(null);
        
        //should be an empty node value with the node name being message about 'no caps'
        assertThat(node.getChildCount(), is(1));
        assertThat(node.getChildren().get(0).getData().toString(), is("No Capabilities Document Found. / "));
        
        //verify no caps known
        assertThat(m_SUT.isCapsLoaded(), is(false));
    }
/**
     * Test if null caps behavior.
     */
Test if null caps behavior.
Test if null caps behavior .
@Test
    public void testNullCapsObject()
    {
        TreeNode node = m_SUT.getRoot(null);
        assertThat(node.getChildCount(), is(1));
        assertThat(node.getChildren().get(0).getData().toString(), is("No Capabilities Document Found. / "));
        assertThat(m_SUT.isCapsLoaded(), is(false));
    }
@ Test public void testNullCapsObject ( ) { TreeNode node = m_SUT . getRoot ( null ) ; assertThat ( node . getChildCount ( ) , is ( 1 ) ) ; assertThat ( node . getChildren ( ) . get ( 0 ) . getData ( ) . toString ( ) , is ( "No Capabilities Document Found. / " ) ) ; assertThat ( m_SUT . isCapsLoaded ( ) , is ( false ) ) ; }
Test if null caps behavior.
Test if null caps behavior .
//pass null //should be an empty node value with the node name being message about 'no caps' //verify no caps known