### Question:
HealthApi { @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE) public HealthDto getHealth() { LOGGER.info("Health GET API called."); var health = new HealthDto(); health.setStatus("OK"); return health; }  @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE) HealthDto getHealth();  }### Answer:
@Test public void testHealthOk() { var api = new HealthApi(); var health = api.getHealth(); assertThat(health.getStatus()).isEqualTo("OK"); }