public override string BasicConsume(string queue, bool autoAck, string consumerTag, bool noLocal, bool exclusive, IDictionary <string, object> arguments, R.IBasicConsumer consumer)
 {
     return(base.BasicConsume(queue, autoAck, consumerTag, noLocal, exclusive, arguments, new MockConsumer(consumer)));
 }
 public MockConsumer(R.IBasicConsumer deleg)
 {
     Delegate = deleg;
 }