@Test
public void onHeartbeat() throws Exception
{

    heartbeatProcessor.onHeartbeat( heartBeat );
    verify( hostRegistry ).registerHost( any( ResourceHostInfo.class ), anySet() );
    verify( heartBeat ).getHostInfo();
    verify( heartBeat ).getAlerts();
}