assertTrue(new File(destinationRepo, SampleTestRepository.A_txt_name)
.exists());
DirCacheEntry fileEntry = null;
DirCache dc = repository.lockDirCache();
fileEntry = dc.getEntry(SampleTestRepository.A_txt_name);
dc.unlock();
// check that we have the file in the index
assertNotNull(fileEntry);
// No project has been imported
assertEquals(0,
ResourcesPlugin.getWorkspace().getRoot().getProjects().length);