### Question:
CssRuleSensor implements Sensor { @Override public void describe(SensorDescriptor descriptor) { descriptor .createIssuesForRuleRepository("css") .name("CSS Rules"); } CssRuleSensor(
    CheckFactory checkFactory,
    CssAnalyzerBridgeServer cssAnalyzerBridgeServer,
    @Nullable AnalysisWarnings analysisWarnings
  ); @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context); static void throwFailFast(SensorContext context, Exception e); static boolean hasCssFiles(SensorContext context);  }### Answer:
@Test public void test_descriptor() { DefaultSensorDescriptor sensorDescriptor = new DefaultSensorDescriptor(); sensor.describe(sensorDescriptor); assertThat(sensorDescriptor.name()).isEqualTo("CSS Rules"); assertThat(sensorDescriptor.languages()).isEmpty(); assertThat(sensorDescriptor.configurationPredicate()).isNull(); assertThat(sensorDescriptor.ruleRepositories()).containsOnly("css"); }