public void StoresIdsAsOneStringUsingSemicolon(params string[] arguments) { var expectedStringToBeStored = arguments.Last(); var ids = arguments.Take(arguments.Length - 1).ToArray(); settingsStorage.SetEnabledCalendars(ids); keyValueStorage.Received().SetString("EnabledCalendars", expectedStringToBeStored); }