public void SetUp() { _rfqServiceDouble = new RfqServiceDouble(); _concurrencyServiceDouble = new ConcurrencyServiceDouble(); _sut = new Rfq(_rfqServiceDouble, _concurrencyServiceDouble); _updates = new List <RfqUpdate>(); _error = null; _completed = false; _sut.Updates.Subscribe( _updates.Add, ex => _error = ex, () => _completed = true); }
public void SetUp() { _rfqServiceDouble = new RfqServiceDouble(); _concurrencyServiceDouble = new ConcurrencyServiceDouble(); _sut = new Rfq(_rfqServiceDouble, _concurrencyServiceDouble); _updates = new List<RfqUpdate>(); _error = null; _completed = false; _sut.Updates.Subscribe( _updates.Add, ex => _error = ex, () => _completed = true); }