### Question:
LegacyEndpointConverters { public static LegacyEndpointConverter health() { return new LegacyEndpointConverter(Endpoint.HEALTH, convertUsing(RESPONSE_TYPE_MAP, RESPONSE_TYPE_MAP, LegacyEndpointConverters::convertHealth)); } private  LegacyEndpointConverters(); static LegacyEndpointConverter health(); static LegacyEndpointConverter env(); static LegacyEndpointConverter httptrace(); static LegacyEndpointConverter threaddump(); static LegacyEndpointConverter liquibase(); static LegacyEndpointConverter flyway(); static LegacyEndpointConverter info();  }### Answer:
@Test public void should_convert_health() { LegacyEndpointConverter converter = LegacyEndpointConverters.health(); assertThat(converter.canConvert("health")).isTrue(); assertThat(converter.canConvert("foo")).isFalse(); Flux<DataBuffer> legacyInput = this.read("health-legacy.json"); Flux<Object> converted = converter.convert(legacyInput).transform(this::unmarshal); Flux<Object> expected = this.read("health-expected.json").transform(this::unmarshal); StepVerifier.create(Flux.zip(converted, expected)) .assertNext(t -> assertThat(t.getT1()).isEqualTo(t.getT2())) .verifyComplete(); }