Collection<ProfileResourceNode> rootNodes = profileManager.findRootNodes(profile.getUuid());
assertEquals(1, rootNodes.size());
assertEquals(testFile.toURI(), rootNodes.iterator().next().getUri());
ProgressObserver progressObserver = mock(ProgressObserver.class);
profileManager.setProgressObserver(profile.getUuid(), progressObserver);
profile.changeState(ProfileState.VIRGIN);
Future<?> submission = profileManager.start(profile.getUuid());
submission.get();