public LotsControllerTests() { _lotStore = Substitute.For<ILotStore>(); _controller = new LotsController(_lotStore); }
public LotsController(ILotStore store) { _store = store; }
public BidsControllerTests() { _userStore = Substitute.For<IUserStore>(); _lotStore = Substitute.For<ILotStore>(); _controller = new BidsController(_lotStore, _userStore); }
public BidsController(ILotStore lotStore, IUserStore userStore) { _lotStore = lotStore; _userStore = userStore; }