assertThat(new PaginationProperties(0, 10, 100).previousOffset()).isEqualTo(0);
}
@Test
public void isFirstOffset() {
assertThat(new PaginationProperties(0, 10, 100).isFirstOffset()).isTrue();
assertThat(new PaginationProperties(9, 10, 100).isFirstOffset()).isTrue();
assertThat(new PaginationProperties(10, 10, 100).isFirstOffset()).isFalse();
assertThat(new PaginationProperties(11, 10, 100).isFirstOffset()).isFalse();
}