@Override
  public void define(Context context) {
    context.addExtensions(
      EducationRulesDefinition.class,
      EducationLanguage.class,
      EducationWithContextsSensor.class,
      EducationWithDetectedContextSensor.class,
      EducationPrinciplesSensor.class,
      EducationWithSingleContextSensor.class,
      EducationBuiltInQualityProfileDefinition.class);

  }
@Test
  public void define_addSomeExtensionsForSonarQube() {
    SonarRuntime runtime = SonarRuntimeImpl.forSonarQube(Version.parse("9.5"), SonarQubeSide.SCANNER, SonarEdition.COMMUNITY);
    Plugin.Context context = new PluginContextImpl.Builder().setSonarRuntime(runtime).build();
    EducationPlugin plugin = new EducationPlugin();

    plugin.define(context);

    assertThat(context.getExtensions()).isNotEmpty();
  }