mil.dod.th.ose.config/test/mil/dod/th/ose/config/loading/impl/TestRemoteChannelLoaderImpl.java
@Test
    public void testProcessSocketChannelConfigs()
    {
        SocketChannelConfig config1 = new SocketChannelConfig("host1", 1000, m_SystemId1, false);
        SocketChannelConfig config2 = new SocketChannelConfig("host2", 2000, m_SystemId2, true);
        SocketChannelConfig config3 = new SocketChannelConfig();
        config3.setHost("host3");
        config3.setSystemId(m_SystemId3);
        
        List<SocketChannelConfig> configsList = new ArrayList<>();
        configsList.add(config1);
        configsList.add(config2);
        configsList.add(config3);
        
        m_SUT.processSocketChannels(configsList);
        
        verify(m_RemoteChannelLookup).syncClientSocketChannel("host1", 1000, m_SystemId1, false, false);
        verify(m_RemoteChannelLookup).syncClientSocketChannel("host2", 2000, m_SystemId2, false, true);
        verify(m_RemoteChannelLookup).syncClientSocketChannel("host3", 4000, m_SystemId3, false, false);
    }
/**
     * Verify that process socket channel configs method calls the remote channel lookup to sync a socket channel for
     * each configuration.
     */
Verify that process socket channel configs method calls the remote channel lookup to sync a socket channel for
each configuration.
Verify that process socket channel configs method calls the remote channel lookup to sync a socket channel for each configuration .
@Test
    public void testProcessSocketChannelConfigs()
    {
        SocketChannelConfig config1 = new SocketChannelConfig("host1", 1000, m_SystemId1, false);
        SocketChannelConfig config2 = new SocketChannelConfig("host2", 2000, m_SystemId2, true);
        SocketChannelConfig config3 = new SocketChannelConfig();
        config3.setHost("host3");
        config3.setSystemId(m_SystemId3);
        List<SocketChannelConfig> configsList = new ArrayList<>();
        configsList.add(config1);
        configsList.add(config2);
        configsList.add(config3);
        m_SUT.processSocketChannels(configsList);
        verify(m_RemoteChannelLookup).syncClientSocketChannel("host1", 1000, m_SystemId1, false, false);
        verify(m_RemoteChannelLookup).syncClientSocketChannel("host2", 2000, m_SystemId2, false, true);
        verify(m_RemoteChannelLookup).syncClientSocketChannel("host3", 4000, m_SystemId3, false, false);
    }
@ Test public void testProcessSocketChannelConfigs ( ) { SocketChannelConfig config1 = new SocketChannelConfig ( "host1" , 1000 , m_SystemId1 , false ) ; SocketChannelConfig config2 = new SocketChannelConfig ( "host2" , 2000 , m_SystemId2 , true ) ; SocketChannelConfig config3 = new SocketChannelConfig ( ) ; config3 . setHost ( "host3" ) ; config3 . setSystemId ( m_SystemId3 ) ; List < SocketChannelConfig > configsList = new ArrayList < > ( ) ; configsList . add ( config1 ) ; configsList . add ( config2 ) ; configsList . add ( config3 ) ; m_SUT . processSocketChannels ( configsList ) ; verify ( m_RemoteChannelLookup ) . syncClientSocketChannel ( "host1" , 1000 , m_SystemId1 , false , false ) ; verify ( m_RemoteChannelLookup ) . syncClientSocketChannel ( "host2" , 2000 , m_SystemId2 , false , true ) ; verify ( m_RemoteChannelLookup ) . syncClientSocketChannel ( "host3" , 4000 , m_SystemId3 , false , false ) ; }
Verify that process socket channel configs method calls the remote channel lookup to sync a socket channel for
 each configuration.
Verify that process socket channel configs method calls the remote channel lookup to sync a socket channel for each configuration .