in RobotOrchestrator.OrderProducer/BatchJobOptions.cs [17:23]
public void Validate()
{
if (MaxItems < -1 || MaxItems == 0 || BatchSize <= 0 || DelayInSecs < 0)
{
throw new ArgumentException("BatchJobOptions are not valid");
}
}