Esempio n. 1
0
 public EmailCampaignManager(IUnitOfWork unitOfWork, IMapper mapper
                             , INotificationsGenerator <EmailCampaign> notificationsGenerator) : base(unitOfWork, mapper)
 {
     this.notificationsGenerator = notificationsGenerator;
 }
Esempio n. 2
0
 protected virtual void Initialize()
 {
     mockUnitOfWork = new Mock <IUnitOfWork>();
     generator      = new EmailCampaignNotificationGenerator(mockUnitOfWork.Object);
     TestContext.WriteLine("Initialize test data");
 }
Esempio n. 3
0
 public CompanyManager(IUnitOfWork unitOfWork, IMapper mapper
                       , INotificationsGenerator <Company> notificationsGenerator) : base(unitOfWork, mapper)
 {
     this.notificationsGenerator = notificationsGenerator;
 }