public void ShouldReturnFalseWhenNextEventNotFound() { var result = _target.ProcessNextEvent(); result.Should().BeFalse(); }
/// <summary> /// Executes the job. /// </summary> /// <returns> /// Positive value to repeat the task, negative value or 0 - to finish the task and to wait time interval before the /// next run. /// </returns> protected override int Process() => Convert.ToInt32(_eventProcessor.ProcessNextEvent());