}
private void testUpdateWithRequestParamOptional(String action) throws Exception {
Map<String, Object> storeRequest = new LinkedHashMap<String, Object>();
List<Row> rowsToUpdate = new ArrayList<Row>();
rowsToUpdate.add(new Row(10, "Ralph", true, "109.55"));
storeRequest.put("records", rowsToUpdate);
executeUpdate(action, storeRequest, "update4");
storeRequest = new LinkedHashMap<String, Object>();
rowsToUpdate = new ArrayList<Row>();
rowsToUpdate.add(new Row(10, "Ralph", true, "109.55"));
storeRequest.put("records", rowsToUpdate);
storeRequest.put("id", 11);
storeRequest.put("yesterday",
ISODateTimeFormat.date().print(new LocalDate().minusDays(1)));
executeUpdate(action, storeRequest, "update4");