Exemplo n.º 1
0
 public InMemAppTests()
 {
     app = new GreetingsAppBuilder()
           .WithEmployeeCatalog(x => x.InMemory())
           .WithGreetingsNotification(x => x.InMemory())
           .Build();
 }
Exemplo n.º 2
0
 public AppTests()
 {
     smtpServer = SimpleSmtpServer.Start(smtpConfiguration.Port);
     app        = new GreetingsAppBuilder()
                  .WithEmployeeCatalog(x => x.FileSystem(fileConfiguration))
                  .WithGreetingsNotification(x => x.Smtp(smtpConfiguration))
                  .Build();
 }