@Override
  public void define(WebService.Context context) {
    WebService.NewController controller = context.createController(SAML_VALIDATION_CONTROLLER);
    controller.setDescription("Handle SAML validation.");
    actions.forEach(action -> action.define(controller));
    controller.done();
  }
@Test
  public void define() {
    WebService.Context context = mock(WebService.Context.class);
    WebService.NewController newController = mock(WebService.NewController.class);
    when(context.createController(anyString())).thenReturn(newController);

    underTest.define(context);

    verify(newController).setDescription(anyString());
    verify(newController).done();
  }