### Question:
GoSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor.onlyOnLanguage(GoLanguage.KEY) .name("SonarGo"); } GoSensor(CheckFactory checkFactory, FileLinesContextFactory fileLinesContextFactory); @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context);  }### Answer:
@Test void test_description() { DefaultSensorDescriptor descriptor = new DefaultSensorDescriptor(); getSensor("S2068").describe(descriptor); assertThat(descriptor.name()).isEqualTo("SonarGo"); assertThat(descriptor.languages()).containsOnly("go"); }
@Test void test_describe() { GoTestSensor goTestSensor = new GoTestSensor(); DefaultSensorDescriptor descriptor = new DefaultSensorDescriptor(); goTestSensor.describe(descriptor); assertThat(descriptor.name()).isEqualTo("Go Unit Test Report"); assertThat(descriptor.languages()).containsOnly("go"); }