void () { final PsiFile rawDefault = myFixture.addFileToProject("p.properties", ""); myFixture.addFileToProject("p_en.properties", ""); final PropertiesFile defaultFile = PropertiesImplUtil.getPropertiesFile(rawDefault); assertNotNull(defaultFile); final PropertiesFile file = defaultFile.getResourceBundle().getDefaultPropertiesFile(); assertTrue(file.getContainingFile().isEquivalentTo(defaultFile.getContainingFile())); }