public void Setup() { _mockRepo = new Mock <IPaymentGatewayRepo>(); _mockLuhnCheckService = new Mock <ILuhnCheckService>(); _repo = _mockRepo.Object; _authService = new AuthorizeService(_mockRepo.Object, _mockLuhnCheckService.Object); }
public void Setup() { _mockRepo = new Mock <IPaymentGatewayRepo>(); _repo = _mockRepo.Object; _captureService = new CaptureService(_repo); }
public CaptureService(IPaymentGatewayRepo repo) { _repo = repo; }
public AuthorizeService(IPaymentGatewayRepo authRepo, ILuhnCheckService luhnCheckService) { _authRepo = authRepo; _luhnCheckService = luhnCheckService; }
public RefundService(IPaymentGatewayRepo repo) { _repo = repo; }
public VoidService(IPaymentGatewayRepo _repo) { this._repo = _repo; }