Esempio n. 1
0
        public void MiddleTier_SendObjectParams_WithArgs()
        {
            List <Schedule> listRetVals = WebServiceTests.SendObjectParamsWithArgs(true, WebServiceTests.DirtyString
                                                                                   , 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);
        }