MessageFastViewProjectionHealthCheck implements HealthCheck { @Override public ComponentName componentName() { return COMPONENT_NAME; } @Inject  MessageFastViewProjectionHealthCheck(MetricFactory metricFactory); @Override ComponentName componentName(); @Override Mono<Result> check();  }
@Test void componentNameShouldReturnTheRightValue() { assertThat(testee.componentName()) .isEqualTo(COMPONENT_NAME); }