예제 #1
0
 public ArticleContextTests(ArticlesContextFactory contextFactory)
 {
     _context = contextFactory.CreateContext(this);
 }
예제 #2
0
 public IndexTests(ArticlesContextFactory contextFactory)
 {
     _contextName    = GetType().Name;
     _contextFactory = contextFactory;
     _context        = contextFactory.CreateUnmanagedContext(_contextName);
 }