/// <summary>
        /// Updates the process to running.
        /// </summary>
        /// <param name="runningDateTime">The running date time.</param>
        public void UpdateProcessToRunning(DateTime runningDateTime)
        {
            this.EnsureProcessCanBeMarkedRunning();

            HandicapCalculationProcessChangedToRunningEvent handicapCalculationProcessChangedToRunningEvent =
                HandicapCalculationProcessChangedToRunningEvent.Create(this.AggregateId, runningDateTime);

            this.ApplyAndPend(handicapCalculationProcessChangedToRunningEvent);
        }
        public void HandicapCalculationProcessChangedToRunningEvent_CanBeCreated_IsCreated()
        {
            HandicapCalculationProcessChangedToRunningEvent handicapCalculationProcessChangedToRunningEvent =
                HandicapCalculationProcessChangedToRunningEvent.Create(HandicapCalculationProcessTestData.AggregateId, HandicapCalculationProcessTestData.RunningDateTime);

            handicapCalculationProcessChangedToRunningEvent.ShouldNotBeNull();
            handicapCalculationProcessChangedToRunningEvent.EventId.ShouldNotBe(Guid.Empty);
            handicapCalculationProcessChangedToRunningEvent.EventCreatedDateTime.ShouldNotBe(DateTime.MinValue);
            handicapCalculationProcessChangedToRunningEvent.AggregateId.ShouldBe(HandicapCalculationProcessTestData.AggregateId);
            handicapCalculationProcessChangedToRunningEvent.RunningDateTime.ShouldBe(HandicapCalculationProcessTestData.RunningDateTime);
        }