public Manager(V1Instance v1, ISmtpAdapter smtpAdapter, IUserDirectoryReader ldapreader) { _services = v1.Services; _model = v1.Model; _defaultRole = v1.DefaultRole; _smtpAdapter = smtpAdapter; _directoryReader = ldapreader; }
public void SetUp() { directoryReaderMock = mockRepository.CreateMock <IUserDirectoryReader>(); smtpAdapterMock = mockRepository.CreateMock <ISmtpAdapter>();; v1Instance = new V1Instance(servicesMock, metaModelMock, "Role:4"); managerMock = new Manager(v1Instance, smtpAdapterMock, directoryReaderMock); }
public Manager(V1Instance v1, ISmtpAdapter smtpAdapter, IUserDirectoryReader ldapreader) { _services = v1.Services; _model = v1.Model; _defaultRole = v1.DefaultRole; _smtpAdapter = smtpAdapter; _directoryReader = ldapreader; }
public void SetUp() { directoryReaderMock = mockRepository.CreateMock<IUserDirectoryReader>(); smtpAdapterMock = mockRepository.CreateMock<ISmtpAdapter>();; v1Instance = new V1Instance(servicesMock, metaModelMock, "Role:4"); managerMock = new Manager(v1Instance, smtpAdapterMock, directoryReaderMock); }
public EmailProvider(IConfigurationProvider configurationProvider, ISmtpAdapter smtpAdapter) { this.configurationProvider = configurationProvider; this.smtpAdapter = smtpAdapter; }