public RequestDetailsController(
			IRequestDetailsService requestDetailsService,
			ILetterOfEngagementService letterOfEngagementService,
			IOrderManager orderManager,
			IAppraiserUserService appraiserService,
			IAppraiserOrderDeliveryService orderDeliveryService)
		{
			_requestDetailsService = ValidationUtil.CheckOnNullAndThrowIfNull(requestDetailsService);
			_letterOfEngagementService = ValidationUtil.CheckOnNullAndThrowIfNull(letterOfEngagementService);
			_orderManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderManager);
			_appraiserService = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserService);
			_orderDeliveryService = ValidationUtil.CheckOnNullAndThrowIfNull(orderDeliveryService);
		}
		public LetterOfEngagementServiceTest()
		{
			_documentService = Substitute.For<IDocumentService>();
			_reportManager = Substitute.For<IReportManager>();
			_target = new LetterOfEngagementService(_documentService, _reportManager);
		}
Exemple #3
0
		public LOEGenerationTask(ILetterOfEngagementService letterOfEngagementService, IOrderManager orderManager, ICommitProvider commitProvider)
		{
			_letterOfEngagementService = letterOfEngagementService;
			_orderManager = orderManager;
			_commitProvider = commitProvider;
		}