@Test
void search() {

    var request = new SearchRequest();
    request.skip = 99;
    request.limit = 10;
    assertThatThrownBy(() -> searchType.search(request))
            .isInstanceOf(Error.class)
            .hasMessageContaining("result window is too large");
}