fake-amqp
Example usage:
var fakeAmqp = ; connection = fakeAmqp;var exchange = connection;connection;
For further examples see the tests.
Overriding AMQP
You might want to override amqp
with fake-amqp
in tests. This can be done this way:
var amqp = ;var fakeAmqp = ; amqpConnection = fakeAmqpConnection;amqpcreateConnection = fakeAmqpcreateConnection;