AbstractSmellMeasureComputer implements MeasureComputer { @Override public String toString() { return getClass().getSimpleName(); } AbstractSmellMeasureComputer(final List<String> inputMetricsKeys, final List<String> outputMetricsKeys); List<String> getOutputMetricsKeys(); List<String> getInputMetricsKeys(); @Override MeasureComputerDefinition define(final MeasureComputerDefinitionContext definitionContext); @Override void compute(final MeasureComputerContext context); @Override String toString();  }
@Test public void toString_should_return_simpleClassName() { Assertions.assertThat(sut().toString()) .isEqualTo(sut().getClass() .getSimpleName()); }