void () { final List<String> callTrace = new ArrayList<>(); maskProjectDataServices(new TestDataService(callTrace)); new ProjectDataManagerImpl().importData( new DataNode<>(ProjectKeys.PROJECT, new ProjectData(ProjectSystemId.IDE, "externalName", "externalPath", "linkedPath"), null), myProject); assertContainsElements(callTrace, "computeOrphanData"); }