void () { CodeStyleScheme scheme = myModel.getSelectedScheme(); CodeStyleSettings settings = myModel.getCloneSettings(scheme); assertFalse(myModel.differsFromDefault(scheme)); settings.setDefaultSoftMargins(Arrays.asList(100,150)); assertTrue(myModel.differsFromDefault(scheme)); myModel.reset(); assertFalse(myModel.differsFromDefault(scheme)); }