void () { CodeStyleSettingsManager settingsManager = CodeStyleSettingsManager.getInstance(getProject()); assertInstanceOf(settingsManager, ProjectCodeStyleSettingsManager.class); CodeStyleSettings projectSettings = settingsManager.getCurrentSettings(); assertTrue(settingsManager.USE_PER_PROJECT_SETTINGS); assertEquals(CodeStyleSettings.getDefaults(), projectSettings); Element state = settingsManager.getState(); Element codeStyle = state.getChild(CODE_STYLE_TAG_NAME); assertNull(codeStyle); }