void () { VirtualFile first = tempDirectory.newVirtualDirectory("first/"); VirtualFile second = tempDirectory.newVirtualDirectory("second/"); assertNothingToRescan(); libraryRootsNoId.add(first); assertRescanningLibraries(ThreeState.NO, first); assertRescanningLibraries(UNSURE, first); libraryRootsNoId.add(second); assertRescanningLibraries(UNSURE, first, second); assertRescanningLibraries(ThreeState.NO, second); assertRescanningLibraries(UNSURE, first, second); libraryRootsNoId.clear(); assertNothingToRescan(); }