void () { configureByFile("PreferLongerNamesOption.java"); assertEquals(3, myItems.length); assertEquals("abcdEfghIjk", myItems[0].getLookupString()); assertEquals("efghIjk", myItems[1].getLookupString()); assertEquals("ijk", myItems[2].getLookupString()); LookupManager.getInstance(getProject()).hideActiveLookup(); JavaCodeStyleSettings.getInstance(getProject()).PREFER_LONGER_NAMES = false; configureByFile("PreferLongerNamesOption.java"); assertEquals(3, myItems.length); assertEquals("ijk", myItems[0].getLookupString()); assertEquals("efghIjk", myItems[1].getLookupString()); assertEquals("abcdEfghIjk", myItems[2].getLookupString()); }