public TestGroupFactory(ITestRepository testRepository, ITestGroupRepository testGroupRepository, TestFactory testFactory) { _testRepository = testRepository; _testGroupRepository = testGroupRepository; _testFactory = testFactory; }
public ProjectFactory(IProjectRepository projectRepository, ITestRepository testRepository, ITestGroupRepository testGroupRepository, TestFactory testFactory) { _projectRepository = projectRepository; _testRepository = testRepository; _testGroupRepository = testGroupRepository; _testFactory = testFactory; }
public ValidateApiController() { //TODO Initalize from constructor _dataRepository = new DbRepositoryContext(); _connectionFactory = new ConnectionFactory(_dataRepository.ConnectionRepository, _dataRepository.ConnectionProviderRepository); _testFactory = new TestFactory(_dataRepository.TestRepository, _dataRepository.TestTypeRepository, _dataRepository.ExpectedResultRepository, _dataRepository.AssertTypeRepository); _projectFactory = new ProjectFactory(_dataRepository.ProjectRepository, _dataRepository.TestRepository, _dataRepository.TestGroupRepository, _testFactory); _testGroupFactory = new TestGroupFactory(_dataRepository.TestRepository, _dataRepository.TestGroupRepository, _testFactory); }