@Test public void testServiceDown() { Response responseError = Response.serverError().build(); doReturn(responseError).when(invocationBuilder).get(); assertNull(healthInvoker.getHealthIndicator().getServiceInfo()); }
protected abstract ServiceHealthIndicator getHealthIndicator();
ServiceHealthInvoker { protected abstract ServiceHealthIndicator getHealthIndicator(); }
ServiceHealthInvoker { protected abstract ServiceHealthIndicator getHealthIndicator();  }
ServiceHealthInvoker { protected abstract ServiceHealthIndicator getHealthIndicator();  @EventListener void handleHealthCheckEvent(HealthCheckEventData event); @Scheduled(fixedRateString = "${integration_bridge.health-check.service-scheduler-update-rate:30000}") void updateServiceHealth(); String getCurrentVersion(); }
ServiceHealthInvoker { protected abstract ServiceHealthIndicator getHealthIndicator();  @EventListener void handleHealthCheckEvent(HealthCheckEventData event); @Scheduled(fixedRateString = "${integration_bridge.health-check.service-scheduler-update-rate:30000}") void updateServiceHealth(); String getCurrentVersion();  }