@Test
public void ensureRelationsToBuilderWorks() {

    final String itemsArray = "[1,2,3]";
    final JsonArray items = JsonFactory.newArray(itemsArray);
    final long nextPageOffset = 10L;
    final ImmutableSearchResult searchResult = ImmutableSearchResult.of(items, nextPageOffset, null);
    DittoJsonAssertions.assertThat(searchResult).isEqualTo(searchResult.toBuilder().build());
}