예제 #1
0
 public ReservationService(IReservationRepository reservationRepository, IParkingPricesService parkingPricesService, ICarParkRepository carParkRepository)
 {
     this.reservationRepository = reservationRepository;
     this.parkingPricesService  = parkingPricesService;
     this.carParkRepository     = carParkRepository;
 }
예제 #2
0
 public ReservationServiceTest()
 {
     reservationRepository = A.Fake <IReservationRepository>();
     parkingPricesService  = A.Fake <IParkingPricesService>();
     carParkRepository     = A.Fake <ICarParkRepository>();
 }