$first, '22:13:00', '22:14:00', '22:15:00'],
[$second, '22:13:00', '22:14:00', '22:15:00'],
],
];
yield 'past' => [
'startTime' => '22:12:00',
'runs' => [
'22:12:01' => [],
],
'schedule' => [
RecurringMessage::trigger(new class() implements TriggerInterface {
public function __toString(): string
{
return 'foo';
}
public function getNextRunDate(\DateTimeImmutable $run): ?\DateTimeImmutable
{
return null;
}
}, (object) []),
],
];