public BoxFile copyFile() throws Exception {
final Map<String, Object> headers = new HashMap<String, Object>();
// parameter type is String
headers.put("CamelBox.fileId", testFileId);
// parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxItemCopyRequestObject
final BoxItemCopyRequestObject requestObject =
BoxItemCopyRequestObject.copyItemRequestObject("0");
requestObject.setName(CAMEL_TEST_FILE);
headers.put("CamelBox.itemCopyRequest", requestObject);
BoxFile result = requestBodyAndHeaders("direct://COPYFILE", null, headers);
assertNotNull("copyFile result", result);
LOG.debug("copyFile: " + result);