newByteArrayPayload(tarGz), "tar.gz");
assertEquals(response.created(), 10);
assertTrue(response.errors().isEmpty());
assertEquals(server.getRequestCount(), 2);
assertEquals(server.takeRequest().getRequestLine(), "POST /tokens HTTP/1.1");
RecordedRequest extractRequest = server.takeRequest();
assertEquals(extractRequest.getRequestLine(),
"PUT /v1/MossoCloudFS_5bcf396e-39dd-45ff-93a1-712b9aba90a9/myContainer?extract-archive=tar.gz HTTP/1.1");
assertEquals(extractRequest.getBody(), tarGz);
} finally {