public function testGetDefaultQueue()
 {
     $this->queueConfig->expects($this->once())->method('getDefaultQueue')->willReturn('DefaultQueue');
     $this->assertEquals('DefaultQueue', $this->subject->getDefaultQueue());
 }
Esempio n. 2
0
 /**
  * @return string The name of the default queue
  */
 public function getDefaultQueue()
 {
     return $this->queueConfig->getDefaultQueue();
 }