static void Main(string[] args) { FileCreator fileCreator = new FileCreator(); TestSetup testSetup = new TestSetup(fileCreator); MainForm mainForm = new MainForm(); TestExecutor testExecutor = new TestExecutor(testSetup, fileCreator, mainForm); testExecutor.Execute(); }
public TestExecutor(TestSetup testSetup, FileCreator fileCreator, MainForm mainForm) { _testSetup = testSetup; _fileCreator = fileCreator; _mainForm = mainForm; }
public TestSetup(FileCreator fileCreator) { _fileCreator = fileCreator; }