void () { final VirtualFile file1 = createFrameworkConfig("my-config.xml"); final VirtualFile file2 = createFrameworkConfig("sub-my-config.xml"); assertEquals(2, detect().size()); VfsTestUtil.clearContent(file2); assertFrameworkDetectedIn(file1); }