@Test
public void issue12_testGetPageUrl_criteriaQueryIsEmpty() {

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