@Test
public void testIsLastPage_Last() {

    // parameter
    List<String> mockedList = new ArrayList<String>();
    PageRequest pageable = PageRequest.of(2, 2);
    page = new PageImpl<String>(mockedList, pageable, 6L);
    PaginationInfo info = new PaginationInfo(page, pathTmpl, queryTmpl, 0);
    // run
    boolean result = info.isLastPage();
    // assert
    assertThat(result, is(true));
}