  @Test
  public void sensor_descriptor() {

    activeRules = (new ActiveRulesBuilder()).build();
    DefaultSensorDescriptor descriptor = new DefaultSensorDescriptor();
    sensor().describe(descriptor);

    assertThat(descriptor.name()).isEqualTo("OpenAPI Scanner Sensor");
    assertThat(descriptor.languages()).containsOnly("openapi");
    assertThat(descriptor.type()).isEqualTo(InputFile.Type.MAIN);
  }