mil.dod.th.ose.sdk.integration/src/mil/dod/th/ose/sdk/integration/TestPluginExtensions.java
public void testGetSdkLinkLayerExtensions() throws IllegalArgumentException, FactoryException
    {
        PhysicalLink physLink = m_CustomCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SPI);
        assertThat(physLink, is(notNullValue()));

        LinkLayer linkLayer = m_CustomCommsService.createLinkLayer(SdkUtils.getProductType(
                SdkUtils.SDK_LINK_LAYER_NAME), physLink.getName());
        assertThat(linkLayer, is(notNullValue()));
        
        assertThat(linkLayer.getExtensionTypes().isEmpty(), is(true));
    }
/**
     * Test that an SDK generated link layer returns an empty list of extensions.
     */
Test that an SDK generated link layer returns an empty list of extensions.
Test that an SDK generated link layer returns an empty list of extensions .
public void testGetSdkLinkLayerExtensions() throws IllegalArgumentException, FactoryException
    {
        PhysicalLink physLink = m_CustomCommsService.createPhysicalLink(PhysicalLinkTypeEnum.SPI);
        assertThat(physLink, is(notNullValue()));
        LinkLayer linkLayer = m_CustomCommsService.createLinkLayer(SdkUtils.getProductType(
                SdkUtils.SDK_LINK_LAYER_NAME), physLink.getName());
        assertThat(linkLayer, is(notNullValue()));
        assertThat(linkLayer.getExtensionTypes().isEmpty(), is(true));
    }
public void testGetSdkLinkLayerExtensions ( ) throws IllegalArgumentException , FactoryException { PhysicalLink physLink = m_CustomCommsService . createPhysicalLink ( PhysicalLinkTypeEnum . SPI ) ; assertThat ( physLink , is ( notNullValue ( ) ) ) ; LinkLayer linkLayer = m_CustomCommsService . createLinkLayer ( SdkUtils . getProductType ( SdkUtils . SDK_LINK_LAYER_NAME ) , physLink . getName ( ) ) ; assertThat ( linkLayer , is ( notNullValue ( ) ) ) ; assertThat ( linkLayer . getExtensionTypes ( ) . isEmpty ( ) , is ( true ) ) ; }
Test that an SDK generated link layer returns an empty list of extensions.
Test that an SDK generated link layer returns an empty list of extensions .