Exemple #1
0
 public Leave(ICheckCommand checkCommand,
              ISlotToEmpty slotToEmpty,
              IValidateSlotNumberToEmpty validateSlotNumberToEmpty,
              IParkingLotRepository parkingRepository,
              ILeaveSuccessMessage leaveSuccessMessage)
 {
     _checkCommand = checkCommand;
     _slotToEmpty  = slotToEmpty;
     _validateSlotNumberToEmpty = validateSlotNumberToEmpty;
     _parkingRepository         = parkingRepository;
     _leaveSuccessMessage       = leaveSuccessMessage;
 }
 public void SetUp()
 {
     _slotToEmpty = new SlotToEmpty();
 }