LOG.debug("getAllCollaborations: " + result);
}
@Test
public void testGetCollaboration() throws Exception {
final BoxCollaboration collaboration = createCollaboration();
try {
final Map<String, Object> headers = new HashMap<String, Object>();
// parameter type is String
headers.put("CamelBox.collabId", collaboration.getId());
// parameter type is com.box.restclientv2.requestsbase.BoxDefaultRequestObject
headers.put("CamelBox.defaultRequest", null);
BoxCollaboration result = requestBodyAndHeaders("direct://GETCOLLABORATION", null, headers);
assertNotNull("getCollaboration result", result);
LOG.debug("getCollaboration: " + result);
} finally {
deleteCollaboration(collaboration.getId());
}