[tests] avoid accessing production internals in tests

GitOrigin-RevId: c4ebd88a18b666088d2b06405ee7cf699bf10563
This commit is contained in:
Anna Kozlova
2022-07-01 17:39:20 +00:00
committed by intellij-monorepo-bot
parent 8c81c644b2
commit c6c352c566
@@ -115,12 +115,11 @@ public class InspectionProfileTest extends LightIdeaTestCase {
public void testModificationWithoutModification() {
InspectionProfileImpl profile = createProfile();
profile.getAllTools();
assertNotEmpty(profile.getAllTools());
assertTrue(profile.wasInitialized());
assertNotEmpty(profile.myTools.keySet());
profile.modifyProfile(m -> {});
assertTrue(profile.wasInitialized());
assertNotEmpty(profile.myTools.keySet());
assertNotEmpty(profile.getAllTools());
}
public void testSameNameSharedProfile() {