@Override
  public void define(Context context) {
    NewController features = context.createController("api/features")
      .setDescription("Provides information about features available in SonarQube")
      .setSince("9.6");

    list.define(features);

    features.done();
  }
@Test
  public void define_shouldHasAtLeastOneAction() {
    WebService.Context context = new WebService.Context();

    underTest.define(context);

    WebService.Controller controller = context.controller(CONTROLLER_FEATURES);
    assertThat(controller).isNotNull();
    assertThat(controller.description()).isNotEmpty();
    assertThat(controller.path()).isEqualTo(CONTROLLER_FEATURES);
    assertThat(controller.since()).isEqualTo("9.6");
    assertThat(controller.actions()).hasSizeGreaterThanOrEqualTo(1);
  }