Ejemplo n.º 1
0
        public override void Given()
        {
            Configure(with =>
            {
                with.Module <RootModule>();
                with.Dependency <IEmailService>(Substitute.For <IEmailService>());
                with.Dependency <DataContext>(TestDataContextFactory.Build());
            });

            base.Given();
        }
Ejemplo n.º 2
0
 public void SetUp()
 {
     context = TestDataContextFactory.Build();
 }