@Test
public void testAddAlertListener() throws Exception
{

    Set<AlertListener> alertListeners = Sets.newHashSet();
    monitor.setAlertListeners( alertListeners );
    monitor.addAlertListener( alertListener );
    assertTrue( alertListeners.contains( alertListener ) );
}