public void CanTaskServiceAssignNewTaskTest() { DateTime dateTimeNow = DateTime.Now; Expect.Call(() => taskService.AssignNewTask(null, null, dateTimeNow)); mocks.ReplayAll(); service.AssignNewTask(null, null, dateTimeNow); mocks.VerifyAll(); }