public void InitTestSuite() { this.logMessageList = new List <string>(); this.exceptionList = new List <Exception>(); this.otherPropertiesList = new List <object>(); this.helloWorldWebServiceMock = new Mock <IHelloWorldWebService>(); this.testLogger = new TestLogger(ref this.logMessageList, ref this.exceptionList, ref this.otherPropertiesList); this.helloWorldConsoleApp = new HelloWorldConsoleApp(this.helloWorldWebServiceMock.Object, this.testLogger); }
public void InitTestSuite() { // Instantiate lists this.logMessageList = new List <string>(); this.exceptionList = new List <Exception>(); this.otherPropertiesList = new List <object>(); // Setup mocked dependencies this.helloWorldWebServiceMock = new Mock <IHelloWorldWebService>(); this.testLogger = new TestLogger(ref this.logMessageList, ref this.exceptionList, ref this.otherPropertiesList); // Create object to test this.helloWorldConsoleApp = new HelloWorldConsoleApp(this.helloWorldWebServiceMock.Object, this.testLogger); }