public static PaginationInformation.Builder forPageIndex(int pageIndex) {
    return new PaginationInformation.Builder(pageIndex);
  }
@Test
  public void paginationInformation_whenPageIndexIsZero_shouldThrow() {
    assertThatIllegalArgumentException().isThrownBy(() -> PaginationInformation.forPageIndex(0).withPageSize(1).andTotal(1))
      .withMessage("Page index must be strictly positive. Got 0");
  }