public void TestInit() { this.mockProxyExecutionManager = new Mock <IProxyExecutionManager>(); this.mockTestRunEventsHandler = new Mock <ITestRunEventsHandler>(); this.mockParallelProxyExecutionManager = new Mock <IParallelProxyExecutionManager>(); this.mockDataSerializer = new Mock <IDataSerializer>(); this.parallelRunEventsHandler = new ParallelRunEventsHandler(this.mockProxyExecutionManager.Object, this.mockTestRunEventsHandler.Object, this.mockParallelProxyExecutionManager.Object, new ParallelRunDataAggregator(), this.mockDataSerializer.Object); }
public void TestInit() { this.mockProxyExecutionManager = new Mock <IProxyExecutionManager>(); this.mockTestRunEventsHandler = new Mock <ITestRunEventsHandler>(); this.mockParallelProxyExecutionManager = new Mock <IParallelProxyExecutionManager>(); this.mockDataSerializer = new Mock <IDataSerializer>(); this.mockRequestData = new Mock <IRequestData>(); this.mockRequestData.Setup(rd => rd.MetricsCollection).Returns(new NoOpMetricsCollection()); this.parallelRunEventsHandler = new ParallelRunEventsHandler(this.mockRequestData.Object, this.mockProxyExecutionManager.Object, this.mockTestRunEventsHandler.Object, this.mockParallelProxyExecutionManager.Object, new ParallelRunDataAggregator(), this.mockDataSerializer.Object); }