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