public DisbursementHistoryServiceTest()
		{
			_nachaFileManager = Substitute.For<INachaFileGenerationManager>();
			_documentService = Substitute.For<IDocumentService>();
			_archiveService = Substitute.For<IArchiveService>();
			_target = new DisbursementHistoryService(_nachaFileManager, _documentService, _archiveService);
		}
Esempio n. 2
0
		public NachaFileGenerationService(ISecurityContext securityContext, IDocumentService documentService,
			INachaFileGenerationManager nachaFileGenerationManager, IDVSUserManager usersManagement,
			INachaFilesRepository nachaFilesRepository, IDocumentInfoRepository documentInfoRepository)
		{
			_securityContext = securityContext;
			_documentService = documentService;
			_nachaFileGenerationManager = nachaFileGenerationManager;
			_usersManagement = usersManagement;
			_nachaFilesRepository = nachaFilesRepository;
			_documentInfoRepository = documentInfoRepository;
		}
Esempio n. 3
0
		public DisbursementHistoryService(INachaFileGenerationManager nachaFileManager, IDocumentService documentService, IArchiveService archiveService)
		{
			_nachaFileManager = ValidationUtil.CheckOnNullAndThrowIfNull(nachaFileManager);
			_documentService = ValidationUtil.CheckOnNullAndThrowIfNull(documentService);
			_archiveService = ValidationUtil.CheckOnNullAndThrowIfNull(archiveService);
		}