public RegistrationNumbersForCarsWithColour(ICheckCommand checkCommand,
                                             IVehicleColor vehicleColor,
                                             IParkingLotRepository parkingRepository,
                                             IVehicleByColor vehicleByColor,
                                             IVehicleByColorSuccessMessage vehicleByColorSuccessMessage)
 {
     _checkCommand                 = checkCommand;
     _vehicleColor                 = vehicleColor;
     _parkingRepository            = parkingRepository;
     _vehicleByColor               = vehicleByColor;
     _vehicleByColorSuccessMessage = vehicleByColorSuccessMessage;
 }
Beispiel #2
0
 public SlotNumbersForCarsWithColour(ICheckCommand checkCommand,
                                     IVehicleColor vehicleColor,
                                     IParkingLotRepository parkingRepository,
                                     ISlotByColor slotByColor,
                                     ISlotByColorMessage slotByColorMessage)
 {
     _checkCommand       = checkCommand;
     _vehicleColor       = vehicleColor;
     _parkingRepository  = parkingRepository;
     _slotByColor        = slotByColor;
     _slotByColorMessage = slotByColorMessage;
 }
 public void SetUp()
 {
     _vehicleColor = new VehicleColor();
 }