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