final Map<String, Object> headers = new HashMap<String, Object>();
// parameter type is String
headers.put("CamelBox.folderId", testFolder.getId());
// parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxFolderRequestObject
final BoxFolderRequestObject folderRequestObject = BoxFolderRequestObject.getRequestObject();
folderRequestObject.setTags(new String[]{CAMEL_TEST_TAG});
folderRequestObject.setName(CAMEL_TEST_COPY_FOLDER);
headers.put("CamelBox.folderRequest", folderRequestObject);
BoxFolder result = requestBodyAndHeaders("direct://UPDATEFOLDERINFO", null, headers);
assertNotNull("updateFolderInfo result", result);
assertEquals("updateFolderInfo folder name", CAMEL_TEST_COPY_FOLDER, result.getName());