arempe93 / bunny-mock

A mock client for RabbitMQ modeled after the Bunny client in ruby
http://www.rubydoc.info/github/arempe93/bunny-mock
MIT License
44 stars 37 forks source link

Add basic implementation for mandatory publishes and return handlers #48

Open jwoodrow opened 1 year ago

jwoodrow commented 1 year ago

Hi 👋

I know this is very very very basic (I'm not event mocking a Bunny::BasicReturn) but I had the need to test my on_return behaviour when publishing messages with a mandatory: true option.

It works as is but:

Methods added:

Methods updated: