public static WorkTime CreateStartedManually() { var workTime = new WorkTime(_id--, UserTestUtils.CreateTestUser(), null, InternalTimeService.GetCurrentDateTime().AddMinutes(10)); workTime.StartManually(); workTime.MarkPendingEventsAsHandled(); return(workTime); }
public static WorkTime CreateManual() { Debug.WriteLine(_id); return(new WorkTime(Interlocked.Decrement(ref _id), UserTestUtils.CreateTestUser(), null, InternalTimeService.GetCurrentDateTime().AddMinutes(10))); }