@Before public void setUp() throws Exception { testData = TestDataBuilder.getTestData("getObjectByPathTestData"); folderObjectId = getFolderObjectId(); documentObjectId = getDocumentObjectId(folderObjectId.getId()); path = "/" + testData.get("folderName") + "/" + testData.get("filename"); }
@Before public void setUp() throws Exception { testData = TestDataBuilder.getTestData("folderTestData"); subFoldersNames = (List<String>) testData.get("subfolders"); folderObjectId = getFolderObjectId(); for (String subFolder : subFoldersNames) { ObjectId subFolderId = getConnector().createFolder(subFolder, folderObjectId.getId()); subFoldersIds.add(subFolderId.getId()); } }
@Before public void setUp() throws Exception { testData = TestDataBuilder.getTestData("deleteTreeTestData"); folderObjectId = getFolderObjectId(); documentObjectId = getDocumentObjectId(folderObjectId.getId()); }