Example #1
0
 public static void Initialize(TestContext context)
 {
     _config             = TestAssistant.GetConfig();
     _applicationService = new ApplicationService(new GenericRepository <Application>(_config));
     _issueService       = new IssueService(new GenericRepository <Issue>(_config));
     _logger             = new Mock <ILogger <HomeController> >();
 }
Example #2
0
 public static void Initialize(TestContext context)
 {
     _config             = TestAssistant.GetConfig();
     _repository         = new GenericRepository <Application>(_config);
     _applicationService = new ApplicationService(_repository);
 }
Example #3
0
 public static void Initialize(TestContext context)
 {
     _config       = TestAssistant.GetConfig();
     _repository   = new GenericRepository <Issue>(_config);
     _issueService = new IssueService(_repository);
 }