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