mil.dod.th.ose.core.integration/src/mil/dod/th/ose/core/integration/TestLinkLayer.java
private void createLinkLayer(final String name) throws IllegalArgumentException, CCommException
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        m_Phys = customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.I_2_C);
        m_LinkLayer = customCommsService.createLinkLayer(ExampleLinkLayer.class.getName(), name, m_Phys.getName());

        assertThat(m_LinkLayer, is(notNullValue()));
    }
/**
     * Create a {@link LinkLayer} with the given name.
     * @param name
     *      the name for the given link layer
     */
Create a  LinkLayer with the given name.
@param name
the name for the given link layer
Create a LinkLayer with the given name . @param name the name for the given link layer
private void createLinkLayer(final String name) throws IllegalArgumentException, CCommException
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        m_Phys = customCommsService.createPhysicalLink(PhysicalLinkTypeEnum.I_2_C);
        m_LinkLayer = customCommsService.createLinkLayer(ExampleLinkLayer.class.getName(), name, m_Phys.getName());
        assertThat(m_LinkLayer, is(notNullValue()));
    }
private void createLinkLayer ( final String name ) throws IllegalArgumentException , CCommException { CustomCommsService customCommsService = ServiceUtils . getService ( m_Context , CustomCommsService . class ) ; assertThat ( customCommsService , is ( notNullValue ( ) ) ) ; m_Phys = customCommsService . createPhysicalLink ( PhysicalLinkTypeEnum . I_2_C ) ; m_LinkLayer = customCommsService . createLinkLayer ( ExampleLinkLayer . class . getName ( ) , name , m_Phys . getName ( ) ) ; assertThat ( m_LinkLayer , is ( notNullValue ( ) ) ) ; }
Create a {@link LinkLayer} with the given name.
Create a { @link LinkLayer } with the given name .