@Override
  public void define(Context context) {
    NewController controller = context
      .createController("api/push")
      .setSince("9.4")
      .setDescription("Endpoints supporting server side events.");

    actions.forEach(action -> 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/push");
    assertThat(controller).isNotNull();
    assertThat(controller.path()).isEqualTo("api/push");
    assertThat(controller.since()).isEqualTo("9.4");
    assertThat(controller.description()).isNotEmpty();
    assertThat(controller.actions()).isNotEmpty();
  }