public void RegisterObserver(ICoinPurseObserver coinPurseObserver) { Observers.Add(coinPurseObserver); }
public void RegisterObserver(ICoinPurseObserver coinPurseObserver) { NumberOfTimesRegisterObserverWasCalled++; RegisteredCoinPurseObservers.Add(coinPurseObserver); }