mil.dod.th.ose.core.integration/src/mil/dod/th/ose/core/integration/TestPartialConfigurations.java
public void testLinkLayerFactoryNotAvailAsNoOcdDescription() 
        throws InterruptedException, CCommException, IllegalArgumentException, FactoryException
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        
        // give plug-in time to try and register
        FactoryUtils.getFactoryDescriptorReference(m_Context, ExampleLinkLayerMissingOcdDesc.class, 5000);
        
        Set<LinkLayerFactory> factories = customCommsService.getLinkLayerFactories();
        for (LinkLayerFactory fact : factories)
        {
            assertThat(fact.getProductType(), is(not(ExampleLinkLayerMissingOcdDesc.class.getName())));
        }
    }
/**
     * Verify that a link layer factory is not registered as available if the OCD of the attributes class
     * does not have 
     * {@link mil.dod.th.core.ConfigurationConstants#PARTIAL_OBJECT_CLASS_DEFINITION} as the description.
     */
Verify that a link layer factory is not registered as available if the OCD of the attributes class
does not have
mil.dod.th.core.ConfigurationConstants#PARTIAL_OBJECT_CLASS_DEFINITION as the description.
Verify that a link layer factory is not registered as available if the OCD of the attributes class does not have mil . dod . th . core . ConfigurationConstants#PARTIAL_OBJECT_CLASS_DEFINITION as the description .
public void testLinkLayerFactoryNotAvailAsNoOcdDescription() 
        throws InterruptedException, CCommException, IllegalArgumentException, FactoryException
    {
        CustomCommsService customCommsService = ServiceUtils.getService(m_Context, CustomCommsService.class);
        assertThat(customCommsService, is(notNullValue()));
        FactoryUtils.getFactoryDescriptorReference(m_Context, ExampleLinkLayerMissingOcdDesc.class, 5000);
        Set<LinkLayerFactory> factories = customCommsService.getLinkLayerFactories();
        for (LinkLayerFactory fact : factories)
        {
            assertThat(fact.getProductType(), is(not(ExampleLinkLayerMissingOcdDesc.class.getName())));
        }
    }
public void testLinkLayerFactoryNotAvailAsNoOcdDescription ( ) throws InterruptedException , CCommException , IllegalArgumentException , FactoryException { CustomCommsService customCommsService = ServiceUtils . getService ( m_Context , CustomCommsService . class ) ; assertThat ( customCommsService , is ( notNullValue ( ) ) ) ; FactoryUtils . getFactoryDescriptorReference ( m_Context , ExampleLinkLayerMissingOcdDesc . class , 5000 ) ; Set < LinkLayerFactory > factories = customCommsService . getLinkLayerFactories ( ) ; for ( LinkLayerFactory fact : factories ) { assertThat ( fact . getProductType ( ) , is ( not ( ExampleLinkLayerMissingOcdDesc . class . getName ( ) ) ) ) ; } }
Verify that a link layer factory is not registered as available if the OCD of the attributes class
 does not have
 {@link mil.dod.th.core.ConfigurationConstants#PARTIAL_OBJECT_CLASS_DEFINITION} as the description.
Verify that a link layer factory is not registered as available if the OCD of the attributes class does not have { @link mil . dod . th . core . ConfigurationConstants#PARTIAL_OBJECT_CLASS_DEFINITION } as the description .
// give plug-in time to try and register