@Test
public void testGetNextUrl() {

    PaginationInfo info = new PaginationInfo(page, pathTmpl, queryTmpl, 0);
    // expected
    String expectedURL = "terasoluna?value=test&page=6&size=5";
    // run
    String nextURL = info.getNextUrl();
    // assert
    assertThat(nextURL, is(expectedURL));
}