public GetContainer(Mock <IFileSystemWatcher> fileSystemWatcherMock, Mock <IGitHubIssueCreator> gitHubIssueCreatorMock, ErrorReportReporter errorReportReporter, ErrorReportConfiguration errorReportConfiguration) { FileSystemWatcherMock = fileSystemWatcherMock; GitHubIssueCreatorMock = gitHubIssueCreatorMock; ErrorReportReporter = errorReportReporter; ErrorReportConfiguration = errorReportConfiguration; }
private static GetContainer GetErrorReportReporter(ErrorReportConfiguration errorReportConfiguration) { var fileSystemWatcherMock = new Mock <IFileSystemWatcher>(); var gitHubIssueCreatorMock = new Mock <IGitHubIssueCreator>(); var errorReportReporter = new ErrorReportReporter(fileSystemWatcherMock.Object, errorReportConfiguration, gitHubIssueCreatorMock.Object); return(new GetContainer(fileSystemWatcherMock, gitHubIssueCreatorMock, errorReportReporter, errorReportConfiguration)); }