public void usingResourceProxy() throws Exception {
// given, when
JsonRepresentation args = JsonRepresentation.newMap();
args.mapPut("from.value", (Integer)null);
args.mapPut("to.value", 0);
Response response = serviceResource.invokeActionQueryOnly("ActionsEntities", "subList", UrlEncodingUtils.urlEncode(args));
RestfulResponse<ActionResultRepresentation> restfulResponse = RestfulResponse.ofT(response);
// then
thenResponseIsErrorWithInvalidReason(restfulResponse);