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> >(); }
public static void Initialize(TestContext context) { _config = TestAssistant.GetConfig(); _repository = new GenericRepository <Application>(_config); _applicationService = new ApplicationService(_repository); }
public static void Initialize(TestContext context) { _config = TestAssistant.GetConfig(); _repository = new GenericRepository <Issue>(_config); _issueService = new IssueService(_repository); }