Esempio n. 1
0
        public void MiddleTier_SendObjectParams()
        {
            List <Schedule> listRetVals = WebServiceTests.SendObjectParams(new Schedule()
            {
                ScheduleNum = 5
            }, new Schedule()
            {
                ScheduleNum = 23
            });

            Assert.AreEqual(listRetVals.Count, 2);
            Assert.AreEqual(listRetVals[0].ScheduleNum, 5);
            Assert.AreEqual(listRetVals[1].ScheduleNum, 23);
        }