示例#1
0
        public void CanTaskServiceAccelerateTaskTest()
        {
            DateTime dateTimeNow = DateTime.Now;

            Expect.Call(() => taskService.AccelerateTask(null, dateTimeNow));
            mocks.ReplayAll();
            service.AccelerateTask(null, dateTimeNow);
            mocks.VerifyAll();
        }
 /// <summary>
 /// "Ускориться".
 /// </summary>
 /// <param name="teamTaskState">Состояние команды затребовавшая ускорение.</param>
 /// <param name="dateTimeNow"></param>
 public void AccelerateTask(TeamTaskState teamTaskState, DateTime dateTimeNow)
 {
     taskService.AccelerateTask(teamTaskState, dateTimeNow);
 }