void () { BuildNumber previous = fromString("211.7628.21"), release = fromString("212.4746.92"); String historicProperty = "ide.updates.whats.new.shown.for"; PropertiesComponent properties = PropertiesComponent.getInstance(); try { properties.setValue(historicProperty, previous.getBaselineVersion(), 0); assertTrue(UpdateCheckerService.shouldShowWhatsNew(release, false)); // release 1st launch } finally { properties.unsetValue(historicProperty); } }