mil.dod.th.ose.config/test/mil/dod/th/ose/config/loading/impl/TestOSGiConfigLoaderImpl.java
@Test
    public void testEmptyAttributesDefinitions()
    {
        m_AllValidConfigs = false;

        final List<PidConfig> configs = createConfigList();
        configs.add(new PidConfig(null, "some.nonexistent.config", new ArrayList<StringMapEntry>()));
        
        // override default to have no attribute definitions
        when(m_TestConfig1.getAttributeDefinitions(ObjectClassDefinition.ALL)).thenReturn(null);
        
        m_SUT.process(configs, true);
    }
/**
     * Verify no attribute definitions are checked.
     */
Verify no attribute definitions are checked.
Verify no attribute definitions are checked .
@Test
    public void testEmptyAttributesDefinitions()
    {
        m_AllValidConfigs = false;
        final List<PidConfig> configs = createConfigList();
        configs.add(new PidConfig(null, "some.nonexistent.config", new ArrayList<StringMapEntry>()));
        when(m_TestConfig1.getAttributeDefinitions(ObjectClassDefinition.ALL)).thenReturn(null);
        m_SUT.process(configs, true);
    }
@ Test public void testEmptyAttributesDefinitions ( ) { m_AllValidConfigs = false ; final List < PidConfig > configs = createConfigList ( ) ; configs . add ( new PidConfig ( null , "some.nonexistent.config" , new ArrayList < StringMapEntry > ( ) ) ) ; when ( m_TestConfig1 . getAttributeDefinitions ( ObjectClassDefinition . ALL ) ) . thenReturn ( null ) ; m_SUT . process ( configs , true ) ; }
Verify no attribute definitions are checked.
Verify no attribute definitions are checked .
// override default to have no attribute definitions