/**
  * {@inheritDoc}
  */
 public function all()
 {
     return $this->redis->smembers('queues');
 }
 function it_loads_all_queue_names_from_redis(RedisClientInterface $redis)
 {
     $redis->smembers('queues')->shouldBeCalled()->willReturn(array('high', 'low', 'medium'));
     $this->all()->shouldReturn(array('high', 'low', 'medium'));
 }
 function it_returns_all_registered_workers(RedisClientInterface $redis)
 {
     $redis->smembers('workers')->shouldBeCalled()->willReturn(array('remote:123', 'local:4556'));
     $this->all()->shouldReturn(array('remote:123', 'local:4556'));
 }