void () { myFixture.configureByFile(getTestName(true) + "_before.java"); CommonCodeStyleSettings settings = CodeStyle.getLanguageSettings(myFixture.getFile()); settings.SPACE_WITHIN_PARENTHESES = true; try { myFixture.type('='); myFixture.checkResultByFile(getTestName(true) + "_after.java"); } finally { settings.SPACE_WITHIN_PARENTHESES = false; } }