mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/config/TestXmlConfigurations.java
@Test
    public final void testTransportLayerConfiguration()
    {
        String testTransportLayerName = "xmlConfigTransportLayer";
        
        CustomCommsService customCommsService = IntegrationTestRunner.getService(CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));

        TransportLayer testTransport = customCommsService.getTransportLayer(testTransportLayerName);
        assertThat(testTransport.getConfig().readTimeoutMs(), is(1500));
        assertThat(testTransport.getConfig().linkLayerName(), is("xmlConfigLinkLayer"));
    }
/*
     * Tests that a Transport Layer can be properly configure from the configs.xml.
     */
Tests that a Transport Layer can be properly configure from the configs.xml.
Tests that a Transport Layer can be properly configure from the configs . xml .
@Test
    public final void testTransportLayerConfiguration()
    {
        String testTransportLayerName = "xmlConfigTransportLayer";
        CustomCommsService customCommsService = IntegrationTestRunner.getService(CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        TransportLayer testTransport = customCommsService.getTransportLayer(testTransportLayerName);
        assertThat(testTransport.getConfig().readTimeoutMs(), is(1500));
        assertThat(testTransport.getConfig().linkLayerName(), is("xmlConfigLinkLayer"));
    }
@ Test public final void testTransportLayerConfiguration ( ) { String testTransportLayerName = "xmlConfigTransportLayer" ; CustomCommsService customCommsService = IntegrationTestRunner . getService ( CustomCommsService . class ) ; assertThat ( customCommsService , is ( notNullValue ( ) ) ) ; TransportLayer testTransport = customCommsService . getTransportLayer ( testTransportLayerName ) ; assertThat ( testTransport . getConfig ( ) . readTimeoutMs ( ) , is ( 1500 ) ) ; assertThat ( testTransport . getConfig ( ) . linkLayerName ( ) , is ( "xmlConfigLinkLayer" ) ) ; }
Tests that a Transport Layer can be properly configure from the configs.xml.
Tests that a Transport Layer can be properly configure from the configs . xml .