public void TestCreateWithPopulatedMap()
        {
            global::Amqp.Message message = new global::Amqp.Message
            {
                BodySection = new AmqpValue
                {
                    Value = new Map
                    {
                        { "entry1", true },
                        { "entry2", false }
                    }
                }
            };

            AmqpNmsMapMessageFacade facade = CreateReceivedMapMessageFacade(message);

            // Data should be preserved
            Assert.True(facade.Map.Keys.Count > 0);
            bool result = facade.Map.GetBool("entry1");

            Assert.True(result);
            Assert.True(facade.HasBody());

            // Should be able to use the message, e.g clearing it and adding to it.
            facade.ClearBody();
            Assert.False(facade.HasBody());
            facade.Map.SetString("entry", "value");
        }
        public void TestNewMessageToSendReportsNoBody()
        {
            AmqpNmsMapMessageFacade facade = CreateNewMapMessageFacade();

            facade.HasBody();
        }