amqplib-mocks
A simple mocking framework for amqplib. Currently supports the following:
- Multiple connections
- Routing messages based on routingKey
- Retrieving any published messages on a channel
- Asserting topology
- The server remotely closing a channel
Usage
const amqplib = ;const proxyquire = ; const server = ;server;