void () { var settings = EditorSettingsExternalizable.getInstance(); settings.setInsertParenthesesAutomatically(false); try { myFixture.configureByText("Test.java", "class Test {void myMethod() { myMet<caret> }}"); myFixture.completeBasic(); myFixture.checkResult("class Test {void myMethod() { myMethod<caret> }}"); } finally { settings.setInsertParenthesesAutomatically(true); } }