@Test public void getDocument() throws IOException { // TODO: pick up a DocumentID from a property file UUID documentId = DOCUMENT_ID; byte[] rawXml = tradeshiftApiService.getDocument(tenantId, documentId, null); assertNotNull(rawXml); // Save the pulled file. It will be used by DocumentServiceTest tests // TODO: take the resources path and test file names from a property file IOUtils.writeToFile( DocumentServiceTest.RESOURCES_PATH + "/" + DocumentServiceTest.TEST_UBL_FILE_NAME, rawXml, false); }