# File lib/moqueue/mock_queue.rb, line 11 def new(name) if existing_queue = MockBroker.instance.find_queue(name) return existing_queue end super end