@Test public void define_suggestions_action() throws Exception { WebService.Action action = controller.action("suggestions"); assertThat(action).isNotNull(); assertThat(action.isInternal()).isTrue(); assertThat(action.isPost()).isFalse(); assertThat(action.handler()).isInstanceOf(RailsHandler.class); assertThat(action.responseExampleAsString()).isNotEmpty(); assertThat(action.params()).hasSize(2); }