CoberturaSensor implements Sensor { @Override public String toString() { return "Groovy CoberturaSensor"; } CoberturaSensor(Settings settings, FileSystem fileSystem); @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context); void analyse(SensorContext context); @Override String toString();  }
@Test public void test_toString() { assertThat(sensor.toString()).isEqualTo("Groovy CoberturaSensor"); }