@Test
public void validatePaginationParamsInvalidSortResourceTest() {

    try {
        RestUtils.validatePaginationParams("urn:error", Collections.singleton("urn:no-error"), 10, 0);
    } catch (MobiWebException ex) {
        assertEquals(400, ex.getResponse().getStatus());
    }
}