mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestCommsStackRequest.java
@Test
    public void testGetTopMostComms()
    {
        List<CommsStackModel> stacks = m_SUT.getCommsStacksAsync(systemId1);
        List<FactoryBaseModel> topLayers = m_SUT.getTopMostComms(systemId1);
        
        assertThat(stacks.get(0).getTransport(), is(topLayers.get(0)));
        assertThat(stacks.get(1).getLink(), is(topLayers.get(1)));
        assertThat(stacks.get(2).getLink(), is(topLayers.get(2)));
        assertThat(stacks.get(3).getPhysical(), is(topLayers.get(3)));
    }
/**
     * Test return of top most layers of all stacks.
     * Verify top most layers of all known stacks are returned. 
     */
Test return of top most layers of all stacks.
Verify top most layers of all known stacks are returned.
Test return of top most layers of all stacks . Verify top most layers of all known stacks are returned .
@Test
    public void testGetTopMostComms()
    {
        List<CommsStackModel> stacks = m_SUT.getCommsStacksAsync(systemId1);
        List<FactoryBaseModel> topLayers = m_SUT.getTopMostComms(systemId1);
        assertThat(stacks.get(0).getTransport(), is(topLayers.get(0)));
        assertThat(stacks.get(1).getLink(), is(topLayers.get(1)));
        assertThat(stacks.get(2).getLink(), is(topLayers.get(2)));
        assertThat(stacks.get(3).getPhysical(), is(topLayers.get(3)));
    }
@ Test public void testGetTopMostComms ( ) { List < CommsStackModel > stacks = m_SUT . getCommsStacksAsync ( systemId1 ) ; List < FactoryBaseModel > topLayers = m_SUT . getTopMostComms ( systemId1 ) ; assertThat ( stacks . get ( 0 ) . getTransport ( ) , is ( topLayers . get ( 0 ) ) ) ; assertThat ( stacks . get ( 1 ) . getLink ( ) , is ( topLayers . get ( 1 ) ) ) ; assertThat ( stacks . get ( 2 ) . getLink ( ) , is ( topLayers . get ( 2 ) ) ) ; assertThat ( stacks . get ( 3 ) . getPhysical ( ) , is ( topLayers . get ( 3 ) ) ) ; }
Test return of top most layers of all stacks.
Test return of top most layers of all stacks .