void () { EditorColorsScheme defaultScheme = EditorColorsManager.getInstance().getScheme(EditorColorsScheme.DEFAULT_SCHEME_NAME); EditorColorsScheme editorColorsScheme = (EditorColorsScheme)defaultScheme.clone(); editorColorsScheme.setName("test"); EditorColorSchemeTestCase.assertXmlOutputEquals( "<scheme name=\"test\" version=\"142\" parent_scheme=\"Default\" />", serialize(editorColorsScheme)); String fontName = editorColorsScheme.getEditorFontName(); editorColorsScheme.setConsoleFontName(fontName); editorColorsScheme.setConsoleFontSize(10); EditorColorSchemeTestCase.assertXmlOutputEquals( """ <scheme name="test" version="142" parent_scheme="Default"> <option name="CONSOLE_FONT_NAME" value="Test" /> <option name="CONSOLE_FONT_SIZE" value="10" /> <option name="CONSOLE_LINE_SPACING" value="1.2" /> </scheme>""", serialize(editorColorsScheme)); }