@Test
public void testListenerShouldBeNotified() throws Exception
{

    AlertNotifier alertNotifier = new AlertNotifier( alert, listener );
    alertNotifier.run();
    verify( listener ).onAlert( alert );
}