Ejemplo n.º 1
0
		public void SetUp()
		{
			_userManagement = Substitute.For<IUsersManagement>();
			_appraiserManagement = Substitute.For<IAppraiserManagement>();
			_referenceManager = Substitute.For<IReferenceManagement>();
			_emailRepository = Substitute.For<IEmailTempalteRepository>();
			_dvsManager = Substitute.For<IDVSUserManager>();
			_configManager = Substitute.For<IConfigurationHelper>();

			_target = new MailManager(_userManagement, _appraiserManagement, _referenceManager, _emailRepository, _dvsManager, _configManager);
		}		
Ejemplo n.º 2
0
		public MailManager(IUsersManagement userManagement, IAppraiserManagement appraiserManagement,
											IReferenceManagement referenceManager, IEmailTempalteRepository emailRepository,
											IDVSUserManager dvsUserManager,
											IConfigurationHelper configManager)
		{
			_userManagement = userManagement;
			_appraiserManagement = appraiserManagement;
			_referenceManager = referenceManager;
			_emailRepository = emailRepository;
			_dvsUserManager = dvsUserManager;
			_configManager = configManager;
		}