@Test
public void testInstanceNotRegisteredWithEurekaIsUnhealthy() {

    AgentStatus status = monitor.getStatus(instance.getId());
    assertThat(status.getStatusCode()).isEqualTo(AgentStatusCode.Unhealthy);
}