rabbitmq-rpc-eventemitter-mock
Mock for rabbitmq-rpc-eventemitter. Used together with rabbitmq-eventemitter-mock.
npm install rabbitmq-rpc-eventemitter-mock
Usage
The module supports the same interface as rabbitmq-rpc-eventemitter
. It has an additional connection
property associated with each queue instance, which represents the remote subscriber or publisher.
var queue = ;var rpc = queue; rpc; rpcconnection;
The module can be used together with mockery.
var mockery = ; mockery;mockery;