@Test
public void testOnAlert() throws Exception
{

    AlertEvent alertEvent = mock( AlertEvent.class );
    doReturn( TestHelper.ENV_ID ).when( alertEvent ).getEnvironmentId();
    environmentManager.onAlert( alertEvent );
    verify( environmentManager ).handleAlertPack( eq( alertEvent ), isA( EnvironmentAlertHandlers.class ) );
}