@Test
public void testInstanceUpInEurekaIsHealthy() {

    mockStatusInEureka(instance, InstanceStatus.UP);
    AgentStatus status = monitor.getStatus(instance.getId());
    assertThat(status.getStatusCode()).isEqualTo(AgentStatusCode.Healthy);
}