@Test
public void testGetEffectiveHandlers()
{

    environmentAlertHandlers.add( normalId, normalHandler );
    environmentAlertHandlers.add( highId, highHandler );
    environmentAlertHandlers.add( lowId, lowHandler );
    environmentAlertHandlers.add( nullHandlerId, null );
    final Collection<AlertHandler> allHandlers = environmentAlertHandlers.getEffectiveHandlers();
    final Iterator<AlertHandler> i2 = allHandlers.iterator();
    assertEquals( 3, allHandlers.size() );
    AlertHandler h = i2.next();
    assertEquals( highHandler, h );
    h = i2.next();
    assertEquals( normalHandler, h );
    h = i2.next();
    assertEquals( lowHandler, h );
}