/** * @param $info * @param Queue $queue */ protected function checkMessageInfo($info, Queue $queue) { $this->assertInternalType('array', $info); $this->assertArrayHasKey('adapter', $info); $this->assertSame(get_class($queue->getAdapter()), $info['adapter']); $this->assertArrayHasKey('queueName', $info); $this->assertSame($queue->getName(), $info['queueName']); }
public function testGetName() { $this->assertEquals($this->name, $this->queue->getName()); }