@Test
public void testGetPageUri() {

    PaginationInfo info = new PaginationInfo(page, pathTmpl, queryTmpl, 10);
    // run
    UriComponents pathQueryStr = info.getPageUri();
    // expected
    String expectedUri = pathTmpl + "?" + queryTmpl;
    // assert
    assertThat(pathQueryStr.toUriString(), is(expectedUri));
}