### Question:
PmdSensor implements Sensor { @Override public String toString() { return getClass().getSimpleName(); } PmdSensor(RulesProfile profile, PmdExecutor executor, PmdViolationRecorder pmdViolationRecorder, FileSystem fs); @Override boolean shouldExecuteOnProject(Project project); @Override void analyse(Project project, SensorContext context); @Override String toString();  }### Answer:
@Test public void should_to_string() { String toString = pmdSensor.toString(); assertThat(toString).isEqualTo("PmdSensor"); }