示例#1
0
 private PAMMFeeManager()
 {
     schedules = new Schedule[]
         {
             new DailySchedule(passedValue => CheckPAMMCommission(),
                               1000*1, null, 0, 0, 0, 1, string.Empty)
         };
 }
        public void ScheduleSaveTest()
        {
            OpenConnection();

            Schedule s = new Schedule(doctorService.FindAll()[0].Id, _r.Next(0, 6), _r.Next(8, 11), _r.Next(14, 18));

            Assert.IsInstanceOfType(scheduleService.Save(s), typeof(int));

            CloseConnection();
        }