public void Setup() { this._fakePersistence = new Mock<IPersistenceManager>(); this._fakePersistence.Setup(p => p.Commit()).Callback(() => { return; }); this._target = new CustomerManager(this._fakePersistence.Object); }
public void Cleanup() { this._fakePersistence = null; this._target = null; }