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() { _mockVoteDAL = new Mock<VoteDAL>(MockBehavior.Strict, null); _voteBLL = new VoteBLL(_mockVoteDAL.Object); }