void () { XmlCodeStyleSettings xmlSettings = getSettings().getCustomSettings(XmlCodeStyleSettings.class); xmlSettings.XML_SPACE_INSIDE_EMPTY_TAG = true; doTextTest("<a attr=\"value\"/>", "<a attr=\"value\" />"); }