Exemplo n.º 1
0
 public void Init()
 {
     MapperInit.InitAutoMapper();
     _roomRepository          = new Mock <IRoomRepository>();
     _EmployeeLogic           = new Mock <IEmployeeLogic>();
     _bookingRepo             = new Mock <IBookingRepository>();
     _bookingValidation       = new Mock <IBookingValidationLogic>();
     _meetingRoomBookingLogic = new BookingLogic(_EmployeeLogic.Object, _bookingRepo.Object, _bookingValidation.Object, _roomRepository.Object);
 }
Exemplo n.º 2
0
 public void Init()
 {
     MapperInit.InitAutoMapper();
     _roomRepository         = new Mock <IRoomRepository>();
     _bookingValidation      = new Mock <IBookingValidationLogic>();
     _bookingRepository      = new Mock <IBookingRepository>();
     _roomFacilityRepository = new Mock <IRoomFacilityRepository>();
     roomLogic = new RoomLogic(_roomRepository.Object, _bookingValidation.Object, _bookingRepository.Object, _roomFacilityRepository.Object);
 }