@Test
public void issue12_testGetPageUrl_criteriaQueryIsSpecified_queryTmplNotSpecified() {

    PaginationInfo info = new PaginationInfo(page, "/{page}/{size}", null, "a=<>&\"'a1", false, 10);
    // expected
    String expectedURL = "/3/5?a=&lt;&gt;&amp;&quot;&#39;a1";
    // assert
    // That the question-mark(?) is append
    assertThat(info.getPageUrl(3), is(expectedURL));
}