mock rabbitmq api