static void Main(string[] args)
        {
            HelloWorldWebService webService = new HelloWorldWebService(new RestClient(), new RestRequest());
            var data = webService.getHelloWorld();

            Console.Write(data);
        }
Beispiel #2
0
        public void InitTestSuite()
        {
            this.logMessageList      = new List <string>();
            this.exceptionList       = new List <Exception>();
            this.otherPropertiesList = new List <object>();


            this.appSettingsMock = new Mock <IAppSettings>();
            this.testLogger      = new TestLogger(ref this.logMessageList, ref this.exceptionList, ref this.otherPropertiesList);
            this.restClientMock  = new Mock <IRestClient>();
            this.restRequestMock = new Mock <IRestRequest>();
            this.uriServiceMock  = new Mock <IUri>();


            this.helleHelloWorldWebService = new HelloWorldWebService(
                this.restClientMock.Object,
                this.restRequestMock.Object,
                this.appSettingsMock.Object,
                this.uriServiceMock.Object,
                this.testLogger);
        }