mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/TestPrepFor2ndRun.java
@Test
    public void createCommsLayers() throws Exception
    {
        CustomCommsService customCommsService = IntegrationTestRunner.getService(CustomCommsService.class);
        
        PhysicalLink physicalLink = customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.I_2_C, "saved-pl");
        LinkLayer linkLayer = customCommsService.createLinkLayer(ExampleLinkLayer.class.getName(), 
                physicalLink.getName());
        linkLayer.setName("testLLDep"); 

        physicalLink = customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.I_2_C, "saved-pl2");
        
        linkLayer = customCommsService.createLinkLayer(ExampleLinkLayer.class.getName(), "saved-ll", 
                physicalLink.getName());

        customCommsService.createTransportLayer(EchoTransport.class.getName(), "saved-tl", linkLayer.getName());
    }
/**
     * Create comms layers that will be checked for restore in the second run by {@link 
     * mil.dod.th.ose.controller.integration.core.TestPersistedCommLayers#testLayersRestored()}.
     */
Create comms layers that will be checked for restore in the second run by {@link
mil.dod.th.ose.controller.integration.core.TestPersistedCommLayers#testLayersRestored()}.
Create comms layers that will be checked for restore in the second run by { @link mil . dod . th . ose . controller . integration . core . TestPersistedCommLayers#testLayersRestored () } .
@Test
    public void createCommsLayers() throws Exception
    {
        CustomCommsService customCommsService = IntegrationTestRunner.getService(CustomCommsService.class);
        PhysicalLink physicalLink = customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.I_2_C, "saved-pl");
        LinkLayer linkLayer = customCommsService.createLinkLayer(ExampleLinkLayer.class.getName(), 
                physicalLink.getName());
        linkLayer.setName("testLLDep"); 
        physicalLink = customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.I_2_C, "saved-pl2");
        linkLayer = customCommsService.createLinkLayer(ExampleLinkLayer.class.getName(), "saved-ll", 
                physicalLink.getName());
        customCommsService.createTransportLayer(EchoTransport.class.getName(), "saved-tl", linkLayer.getName());
    }
@ Test public void createCommsLayers ( ) throws Exception { CustomCommsService customCommsService = IntegrationTestRunner . getService ( CustomCommsService . class ) ; PhysicalLink physicalLink = customCommsService . createPhysicalLink ( PhysicalLinkTypeEnum . I_2_C , "saved-pl" ) ; LinkLayer linkLayer = customCommsService . createLinkLayer ( ExampleLinkLayer . class . getName ( ) , physicalLink . getName ( ) ) ; linkLayer . setName ( "testLLDep" ) ; physicalLink = customCommsService . createPhysicalLink ( PhysicalLinkTypeEnum . I_2_C , "saved-pl2" ) ; linkLayer = customCommsService . createLinkLayer ( ExampleLinkLayer . class . getName ( ) , "saved-ll" , physicalLink . getName ( ) ) ; customCommsService . createTransportLayer ( EchoTransport . class . getName ( ) , "saved-tl" , linkLayer . getName ( ) ) ; }
Create comms layers that will be checked for restore in the second run by {@link
 mil.dod.th.ose.controller.integration.core.TestPersistedCommLayers#testLayersRestored()}.
Create comms layers that will be checked for restore in the second run by { @link mil . dod . th . ose . controller . integration . core . TestPersistedCommLayers#testLayersRestored () } .