void () { final String testName = getTestName(false); configureByFiles( null, BASE_PATH + testName +".xml", BASE_PATH +testName +"-inc.xml", BASE_PATH +testName +"TestSchema.xsd" ); ExternalResourceManagerEx.getInstanceEx().addIgnoredResources(Collections.singletonList("oxf:/apps/somefile.xml"), getTestRootDisposable()); doDoTest(true, false, true); VirtualFile[] includedFiles = FileIncludeManager.getManager(getProject()).getIncludedFiles(getFile().getVirtualFile(), true); assertEquals(1, includedFiles.length); }