protected AmqpNmsBytesMessageFacade CreateReceivedBytesMessageFacade(global::Amqp.Message message)
        {
            AmqpNmsBytesMessageFacade facade = new AmqpNmsBytesMessageFacade();

            facade.Initialize(CreateMockConsumer(CreateMockAmqpConnection()), message);
            return(facade);
        }
        protected AmqpNmsBytesMessageFacade CreateNewBytesMessageFacade()
        {
            AmqpNmsBytesMessageFacade facade = new AmqpNmsBytesMessageFacade();

            facade.Initialize(CreateMockAmqpConnection());
            return(facade);
        }