@Test
public void testListDirectories() {
Repository repository = new VFSRepository(producer.getIoService());
((VFSRepository)repository).setDescriptor(descriptor);
boolean rootFolderExists = repository.directoryExists("/processes");
assertTrue(rootFolderExists);
Collection<Directory> directories = repository.listDirectories("/");
assertNotNull(directories);
assertEquals(3, directories.size());