Esempio n. 1
0
 protected TDbContext ResolveDbContext()
 {
     return((TDbContext)CurrentTestProperties.Get(DbContextKey));
 }
Esempio n. 2
0
        protected Mock <TMock> ResolveMock <TMock>() where TMock : class
        {
            AutoMocker autoMocker = (AutoMocker)CurrentTestProperties.Get(ContainerKey);

            return(autoMocker.GetMock <TMock>());
        }