/** * @expectedException LaterJob\Exception * @expectedExceptionMessage Invalid configuration for path "queue.retry_timer": Job Retry Timmer must be an integer with a value greater than 0 */ public function testRetryTimerNotInteger() { $config = new QueueConfig(); $data = array('queue' => array('mean_service_time' => 60, 'max_retry' => 5, 'retry_timer' => 'aaa')); $config->parse($data); }
public function parseQueueOptions(array $options, QueueConfig $queue) { return $queue->parse($options); }