void () { EditorColorsScheme defaultScheme = EditorColorsManager.getInstance().getScheme(EditorColorsScheme.DEFAULT_SCHEME_NAME); EditorColorsScheme initialScheme = (EditorColorsScheme)defaultScheme.clone(); initialScheme.setLineSpacing(1.2f); initialScheme.setConsoleLineSpacing(1.0f); assertFalse(initialScheme.getLineSpacing() == initialScheme.getConsoleLineSpacing()); Element root = serialize(initialScheme); EditorColorsScheme targetScheme = new EditorColorsSchemeImpl(defaultScheme); targetScheme.readExternal(root); assertEquals(1.0f, targetScheme.getConsoleLineSpacing()); }