@Test
public void testRegisterHost() throws Exception
{

    registry.registerHost( resourceHostInfo, alerts );
    verify( hosts ).put( resourceHostInfo.getId(), resourceHostInfo );
    verify( notifier ).execute( isA( HostNotifier.class ) );
}