@Test public void testEmptyCache() { Health expected = Health.down().build(); Health result = healthIndicator.health(); assertEquals(expected, result); }
@Override public Health health() { String serviceName = mountUserFriendlyServiceName(); return reportServiceHealth(serviceName, getServiceInfo()); }
ServiceHealthIndicator implements HealthIndicator { @Override public Health health() { String serviceName = mountUserFriendlyServiceName(); return reportServiceHealth(serviceName, getServiceInfo()); } }
ServiceHealthIndicator implements HealthIndicator { @Override public Health health() { String serviceName = mountUserFriendlyServiceName(); return reportServiceHealth(serviceName, getServiceInfo()); }  }
ServiceHealthIndicator implements HealthIndicator { @Override public Health health() { String serviceName = mountUserFriendlyServiceName(); return reportServiceHealth(serviceName, getServiceInfo()); }  @Override Health health(); @Cacheable(cacheResolver = CachingConfiguration.CACHE_RESOLVER_NAME) IntegrationBridgeServiceInfo getServiceInfo(); @CacheEvict(cacheResolver = CachingConfiguration.CACHE_RESOLVER_NAME) void setServiceInfo(IntegrationBridgeServiceInfo serviceInfo); String mountUserFriendlyServiceName(); }
ServiceHealthIndicator implements HealthIndicator { @Override public Health health() { String serviceName = mountUserFriendlyServiceName(); return reportServiceHealth(serviceName, getServiceInfo()); }  @Override Health health(); @Cacheable(cacheResolver = CachingConfiguration.CACHE_RESOLVER_NAME) IntegrationBridgeServiceInfo getServiceInfo(); @CacheEvict(cacheResolver = CachingConfiguration.CACHE_RESOLVER_NAME) void setServiceInfo(IntegrationBridgeServiceInfo serviceInfo); String mountUserFriendlyServiceName();  }