@Test
public void testShouldHeartbeat() {

    heartbeat.sentHeartbeat(time.milliseconds());
    time.sleep((long) ((float) interval * 1.1));
    assertTrue(heartbeat.shouldHeartbeat(time.milliseconds()));
}