void () { myScheme.setEditorFontSize(25); myScheme.setConsoleFontSize(21); FontPreferencesTest.checkState(myScheme.getFontPreferences(), Collections.singletonList(FontPreferences.DEFAULT_FONT_NAME), Collections.singletonList(FontPreferences.DEFAULT_FONT_NAME), FontPreferences.DEFAULT_FONT_NAME, FontPreferences.DEFAULT_FONT_NAME, 25); assertEquals(FontPreferences.DEFAULT_FONT_NAME, myScheme.getEditorFontName()); assertEquals(25, myScheme.getEditorFontSize()); FontPreferencesTest.checkState(myScheme.getConsoleFontPreferences(), Collections.singletonList(FontPreferences.DEFAULT_FONT_NAME), Collections.singletonList(FontPreferences.DEFAULT_FONT_NAME), FontPreferences.DEFAULT_FONT_NAME, FontPreferences.DEFAULT_FONT_NAME, 21); assertEquals(FontPreferences.DEFAULT_FONT_NAME, myScheme.getConsoleFontName()); assertEquals(21, myScheme.getConsoleFontSize()); }