headers.put("CamelBox.fileId", testFileId);
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);
// generate file delete event
headers.clear();
headers.put("CamelBox.fileId", result.getId());
headers.put("CamelBox.defaultRequest", null);
requestBodyAndHeaders("direct://DELETEFILE", null, headers);
MockEndpoint mockEndpoint = getMockEndpoint("mock:boxEvents");
mockEndpoint.expectedMinimumMessageCount(2);