@Test
public void emptyToJsonWithAllFieldTypes() {

    final SearchResult searchResult = ImmutableSearchResult.empty();
    final String jsonStr = searchResult.toJsonString(FieldType.regularOrSpecial());
    assertThat(jsonStr).isEqualTo("{\"__schemaVersion\":" + 2 + ",\"items\":[],\"nextPageOffset\":-1}");
}