void () { TestScaleHelper.assumeStandalone(); TestScaleHelper.assumeHeadful(); System.setProperty(IDE_UI_SCALE_PROP, "1.0"); JBUIScale.setUserScaleFactor(2f); assertEquals(IDE_UI_SCALE_PROP + " system property is ignored", 1f, JBUIScale.scale(1f)); }