/** * @covers ::__construct * @covers ::getMessageQueueConfig * @covers ::<private> * @expectedException Exception */ public function testMessageQueueConfigForUnknownConfigThrowsAnException() { $config = new QueueConfig(['worker_queues' => []]); $config->getMessageQueueConfig('worker-missing'); }