public PollBLL(TimeSpan maxPollTime) { VoteBLL = new VoteBLL(); RestaurantBLL = new RestaurantBLL(); DAL = new PollDAL(); MaxPollTime = maxPollTime; }
public PollBLL(PollDAL pollDAL, VoteBLL voteBLL, RestaurantBLL restaurantBLL, TimeSpan maxPollTime) { DAL = pollDAL; VoteBLL = voteBLL; RestaurantBLL = restaurantBLL; MaxPollTime = maxPollTime; }
public void TestInitialize() { _mockRestaurantDAL = new Mock<RestaurantDAL>(MockBehavior.Strict, null); _restaurantBLL = new RestaurantBLL(_mockRestaurantDAL.Object); }