static Account SimulateGettingAccountFromRepository() { var account = new Account(); account.NotifyObservers += x => _eventRaised = x; return account; }