@Override
  public void define(Context context) {
    NewController controller = context.createController(MeasuresWsParameters.CONTROLLER_MEASURES)
      .setSince("5.4")
      .setDescription("Get components or children with specified measures.");

    for (MeasuresWsAction action : actions) {
      action.define(controller);
    }

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

    underTest.define(context);

    WebService.Controller controller = context.controller("api/measures");
    assertThat(controller).isNotNull();
    assertThat(controller.since()).isEqualTo("5.4");
  }