@Test
public void nextOffsetLastPage() {
final PaginationProperties params = new PaginationProperties(90, 10, 100);
assertThat(params.nextOffset()).isEqualTo(100);
assertThat(params.offset()).isEqualTo(90);
assertThat(params.limit()).isEqualTo(10);
assertThat(params.total().get()).isEqualTo(100);
assertThat(params.isLastOffset()).isTrue();
}