.isEqualTo("application/json");
}
@Test
public void returnsA500IfAnyHealthChecksAreUnhealthy() throws Exception {
registry.register("fun", new HealthCheck() {
@Override
protected Result check() throws Exception {
return Result.healthy("whee");
}
});
registry.register("notFun", new HealthCheck() {
@Override
protected Result check() throws Exception {
return Result.unhealthy("whee");
}
});