@Test
public void issue12_testGetPageUrl_criteriaQueryIsSpecified() {

    PaginationInfo info = new PaginationInfo(page, pathTmpl, queryTmpl, "a=%2B", false, 10);
    // expected
    String expectedURL = "terasoluna?value=test&page=0&size=5&a=%2B";
    // assert
    // That the criteria query is append
    assertThat(info.getPageUrl(0), is(expectedURL));
}