public void SetWorkTimeNow() { var workTime = new Task(); var trackWorkTimeCommand = new TrackWorkTimeCommand(); trackWorkTimeCommand.Run(workTime); }
public void TestInitialize() { var commandFactory = AssemblyConfiguration.Kernel.Get <CommandFactory>(); var queryFactory = AssemblyConfiguration.Kernel.Get <QueryFactory>(); _getCurrentScheduleQuery = queryFactory.GetInstance <GetCurrentScheduleQuery>(); _getTaskQuery = queryFactory.GetInstance <GetTasksQuery>(); _createTaskCommand = commandFactory.GetInstance <CreateTaskCommand>(); _createScheduleCommand = commandFactory.GetInstance <CreateScheduleCommand>(); _sut = commandFactory.GetInstance <TrackWorkTimeCommand>(); }