void () { final VirtualFile file1 = createFrameworkConfig("my-config1.xml"); final VirtualFile file2 = createFrameworkConfig("my-config2.xml"); final List<? extends DetectedFrameworkDescription> descriptions = detect(); assertEquals(2, descriptions.size()); VfsTestUtil.clearContent(file1); assertFrameworkDetectedIn(file2); VfsTestUtil.clearContent(file2); assertNoFrameworksDetected(); }