public void Setup() { _operatorRepository = MockRepository.GenerateStub<IOperatorRepository>(); _operatorService = new OperatorService(_operatorRepository); _urlHelper = MockRepository.GenerateStub<IUrlHelper>(); _objectUnderTest = new OperatorsController(_operatorService,_urlHelper); _objectUnderTest.Request = new HttpRequestMessage(); _objectUnderTest.Request.SetConfiguration(new HttpConfiguration()); }
public OperatorService( IOperatorRepository operatorRepository) { _opetorRepository = operatorRepository; }
public OperatorDeleteService(IOperatorRepository <Operator> repository) { this._repository = repository; }
public OperatorController(IOperatorRepository ope_repo) { _ope_repo = ope_repo; }
public LoanApplicationSubmissionService(IUnitOfWork unitOfWork, ILoanApplicationRepository loanApplications, IOperatorRepository operators) { this.unitOfWork = unitOfWork; this.loanApplications = loanApplications; this.operators = operators; }
public OperatorDeleteCommandHandler(IOperatorRepository operatorRepository) { _operatorRepository = operatorRepository; }
public OperatorService(IOperatorRepository operatorRepository, IAddressRepository addressRepository) { _operatorRepository = operatorRepository; _addressRepository = addressRepository; }
public OperatorService(IOperatorRepository repository) : base(repository) { _repository = repository; }
public Handler(IUnitOfWork unitOfWork, ILoanApplicationRepository loanApplications, IOperatorRepository operators) { this.unitOfWork = unitOfWork; this.loanApplications = loanApplications; this.operators = operators; }
public OperatorService(IOperatorRepository operatorRepository) { this.operatorRepository = operatorRepository; }