postUrl = HTTP_BASE_URL + TEST_BASE_PATH + "/" + System.currentTimeMillis();
}
private void doDateTest(String expected, String input, String expected2, String input2)
throws IOException {
final NameValuePairList props = new NameValuePairList();
props.add("someDate", input);
props.add("someDate@TypeHint", "Date");
props.add("manyDates", input);
props.add("manyDates", input2);
props.add("manyDates@TypeHint", "Date[]");
final String createdNodeUrl = testClient.createNode(postUrl + SlingPostConstants.DEFAULT_CREATE_SUFFIX, props, null, false);
String content = getContent(createdNodeUrl + ".json", CONTENT_TYPE_JSON);
// default behaviour writes empty string