public void SaveConfiguration() { _compoundProperties.ClearGroupMapping(); _parameterMappingDTO.SelectedAlternatives().Each( alternative => _compoundProperties.AddCompoundGroupSelection(new CompoundGroupSelection { GroupName = alternative.GroupName, AlternativeName = alternative.Name })); }
public void should_erase_the_previous_parameter_mapping() { A.CallTo(() => _compoundProperties.ClearGroupMapping()).MustHaveHappened(); }