yield 'skip if default run interval is provided' =>
[ $insertCommand,
$insertCommand,
];
$insertCommand =
new InsertCommand(new ScheduledTaskDefinition(),
[ 'id' => 'id',
'name' => 'name',
'run_interval' => 1,
],
[],
$dummyExistence, ''
);
$expectedCommand =
clone $insertCommand;
$expectedCommand->
addPayload('default_run_interval', 1
);
yield 'adds default run interval base on runInterval' =>
[ $insertCommand,
$expectedCommand,
];
}}