FolderLoaderUtils { static Folder createFolder(String folderName, String folderPath, Folder parentFolder) { Folder folder = new Folder(); folder.setName(folderName); folder.setPath(folderPath); folder.setParentFolder(parentFolder); return folder; } private  FolderLoaderUtils(); static void createFolders(Bundle bundle, File rootDir, Map<String, E> folderableMap); static final String SOAP_RESOURCES_FOLDER; }
@Test void createFolderTest() { Folder root = createFolder("root", "", null); Folder child = createFolder("child","/", root); assertEquals("child", child.getName()); assertEquals("/", child.getPath()); assertEquals(root, child.getParentFolder()); }