ClasspathModifierQueries.IOutputFolderQuery outputFolderQuery= getOutputFolderQueryToKeepProjAsRoot();
ClasspathModifierQueries.OutputFolderQuery outputFolderQuery= getOutputFolderQueryToKeepProjAsRoot();
    public void testCreateSourceFolderOnFrag() throws CoreException, InvocationTargetException, InterruptedException {        // ... and remove project as root        final IPath srcPath= new Path("src");        ClasspathModifierQueries.IOutputFolderQuery outputFolderQuery= getOutputFolderQueryToKeepProjAsRoot();        IPackageFragmentRoot parentRoot= (IPackageFragmentRoot)executeOperation(IClasspathInformationProvider.ADD_TO_BP, getFolderHandle(srcPath), outputFolderQuery, null, null, null);        IFolder fragmentFolder= getFolderHandle(srcPath.append(fNormalFolder));        assertTrue(fragmentFolder.getParent().equals(parentRoot.getUnderlyingResource()));        testProjectIsOnClasspath(true);                ClasspathModifierQueries.IFolderCreationQuery folderQuery= new ClasspathModifierQueries.IFolderCreationQuery() {            public boolean doQuery() {                return true;            }            public boolean isSourceFolder() {                return true;            }            public IFolder getCreatedFolder() {                return getFolderHandle(srcPath.append(fNormalFolder).append(fSubFolder));            }                    };        IPackageFragmentRoot root= (IPackageFragmentRoot)executeOperation(IClasspathInformationProvider.CREATE_FOLDER, null, getOutputFolderQueryInternal(fProject.getPath()), null, folderQuery, null);        assertTrue(root.getUnderlyingResource().exists());        assertTrue(root.getParent().equals(fProject));        assertTrue(root.getUnderlyingResource().getParent().equals(fragmentFolder));        testProjectIsOnClasspath(false);                validateClasspath();    }