SmellMeasuresSensor implements Sensor { @Override public String toString() { return getClass().getSimpleName(); } SmellMeasuresSensor(final FileSystem fileSystem); @Override String toString(); @Override void describe(final SensorDescriptor descriptor); @Override void execute(final SensorContext context);  }
@Test public void toString_should_return_simpleClassName() { Assertions.assertThat(new SmellMeasuresSensor(this.fs).toString()) .isEqualTo(SmellMeasuresSensor.class.getSimpleName()); }