public void OnTimeSetUp()
 {
     ContaineResolver.Register <IEmailMessageConfiguration, EmailMessageConfiguration>();
     ContaineResolver.Register <ISmtpConfiguration, SmtpConfiguration>();
     ContaineResolver.Register <ISmtpProvider, SmtpProvider>();
     ContaineResolver.Register <IEmailProvider, EmailProvider>();
 }
 public void RegisterAllAssemblies()
 {
     ContaineResolver.Register <IEmailSenderManager, EmailSenderManager>();
     ContaineResolver.Register <IEmailHandler, EmailHandler>();
     ContaineResolver.Register <ISmtpConfiguration, SmtpConfiguration>();
     ContaineResolver.Register <ISmtpProvider, SmtpProvider>();
     ContaineResolver.Register <IEmailMessageConfiguration, EmailMessageConfiguration>();
     ContaineResolver.Register <IEmailProvider, EmailProvider>();
 }
 public void OnTimeSetUp()
 {
     ContaineResolver.Register <IService1, Service1>();
     ContaineResolver.Register <IService2>(() => new Service2());
 }
 public void OneTimeSetUp()
 {
     _emailSenderManager = new Mock <IEmailSenderManager>(MockBehavior.Strict);
     ContaineResolver.Register(() => _emailSenderManager.Object);
 }
 public void TestFixtureSetUp()
 {
     _emailHandler = new Mock <IEmailHandler>(MockBehavior.Strict);
     ContaineResolver.Register(() => _emailHandler.Object);
 }