void () { myScheme.setFontPreferences(new FontPreferencesImpl()); FontPreferencesTest.checkState(myScheme.getFontPreferences(), Collections.emptyList(), Collections.emptyList(), FontPreferences.DEFAULT_FONT_NAME, FontPreferences.DEFAULT_FONT_NAME, null); String expectedName = FontPreferences.DEFAULT_FONT_NAME; assertEquals(expectedName, myScheme.getEditorFontName()); assertEquals(FontPreferences.DEFAULT_FONT_SIZE, myScheme.getEditorFontSize()); FontPreferencesTest.checkState(myScheme.getConsoleFontPreferences(), Collections.emptyList(), Collections.emptyList(), FontPreferences.DEFAULT_FONT_NAME, FontPreferences.DEFAULT_FONT_NAME, null); assertEquals(FontPreferences.DEFAULT_FONT_NAME, myScheme.getConsoleFontName()); assertEquals(FontPreferences.DEFAULT_FONT_SIZE, myScheme.getConsoleFontSize()); }