Ejemplo n.º 1
0
 public GetContainer(Mock <IFileSystemWatcher> fileSystemWatcherMock, Mock <IGitHubIssueCreator> gitHubIssueCreatorMock, ErrorReportReporter errorReportReporter, ErrorReportConfiguration errorReportConfiguration)
 {
     FileSystemWatcherMock    = fileSystemWatcherMock;
     GitHubIssueCreatorMock   = gitHubIssueCreatorMock;
     ErrorReportReporter      = errorReportReporter;
     ErrorReportConfiguration = errorReportConfiguration;
 }
Ejemplo n.º 2
0
        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));
        }