@Test
public void methodIsGetIfScrollIdIsShort() {

    String scrollId = Strings.padStart("scrollId", SearchScroll.MAX_SCROLL_ID_LENGTH, 'x');
    SearchScroll searchScroll = new SearchScroll.Builder(scrollId, "1m").build();
    String uri = searchScroll.getURI(ElasticsearchVersion.UNKNOWN);
    assertEquals("GET", searchScroll.getRestMethodName());
    assertNull(searchScroll.getData(new Gson()));
    assertTrue(uri.length() < 2000);
    assertTrue(uri.contains(scrollId));
}