Beispiel #1
0
        public void HelloWord()
        {
            ////WebServiceShell wss = new WebServiceShell();
            ServiceReference12.ELIWebServiceSoapClient proxy = new ServiceReference12.ELIWebServiceSoapClient();

            string param = "new";
            string resShouldBe = "Hello World " + param;
            string resIs = proxy.HelloWorld("new");

            Assert.AreEqual(resShouldBe, resIs);
        }
Beispiel #2
0
        public void getPatientWithOrderListBy()
        {
            ////WebServiceShell wss = new WebServiceShell();
            ServiceReference12.ELIWebServiceSoapClient proxy = new ServiceReference12.ELIWebServiceSoapClient();
            ServiceReference12.PatientIdVO pid = new ServiceReference12.PatientIdVO();

            ServiceReference12.PatientWithOrderListVO res = proxy.getPatientWithOrderListBy(pid);

            int resIs = res.orders.Length;
            int resShouldBe = 2;

            Assert.AreEqual(resShouldBe, resIs);
        }