### Question:
Page { public boolean isLast() { return last; } Page(List<E> data, Integer pageNumber, Integer pageSize, boolean last);  Page(List<E> data, Integer pageNumber, Integer pageSize);  Page(List<E> data); List<E> getData(); Integer getPageNumber(); Integer getPageSize(); boolean isLast();  }### Answer:
@Test void isLast() { Assertions.assertFalse(new Page<>(Arrays.asList("a", "b", "c"), 1, 2).isLast()); Assertions.assertFalse(new Page<>(Arrays.asList("a", "b"), 4, 2).isLast()); Assertions.assertTrue(new Page<>(Arrays.asList("a"), 5, 2).isLast()); }