void (@NotNull String filePath, @Nullable String expectedSchemaUrl) { VirtualFile file = myFixture.addFileToProject(filePath, "").getVirtualFile(); VirtualFile schemaFile = myCatalogManager.getSchemaFileForFile(file); String schemaUrl = schemaFile != null ? schemaFile.getUrl() : null; Assert.assertEquals(expectedSchemaUrl, schemaUrl); }