request.setParameter("sort2.id", "desc");
request.setParameter("sort1.baseInfo.realname", "asc");
MethodParameter parameter = new MethodParameter(parameterDefaultPageable, 0);
NativeWebRequest webRequest = new ServletWebRequest(request);
Pageable pageable = (Pageable) new PageableMethodArgumentResolver().resolveArgument(parameter, null, webRequest, null);
assertEquals(Controller.DEFAULT_PAGENUMBER, pageable.getPageNumber());
assertEquals(Controller.DEFAULT_PAGESIZE, pageable.getPageSize());
Sort expectedSort = new Sort(Sort.Direction.ASC, "baseInfo.realname").and(new Sort(Sort.Direction.DESC, "id"));
assertEquals(expectedSort, pageable.getSort());
}