{
UrlMapping mapping = config.getMappingById("6");
List<QueryParameter> params = mapping.getQueryParams();
assertEquals(2, params.size());
RequestParameter name = new QueryParameter("name", null, new ConstantExpression("#{searchUserBean.userName}"));
RequestParameter gender = new QueryParameter("gender", null, new ConstantExpression("#{searchUserBean.userGender}"));
assertArrayEquals(new Object[] { name, gender }, params.toArray());
}