Apache.NMS.ActiveMQ.Test.Commands.ActiveMQMapMessageTest.TestGetChar C# (CSharp) Method

TestGetChar() private method

private TestGetChar ( ) : void
return void
        public void TestGetChar()
        {
            ActiveMQMapMessage msg = new ActiveMQMapMessage();
            try
            {
                msg.Body.SetChar(this.name, 'a');
                msg = (ActiveMQMapMessage)msg.Clone();
                Assert.IsTrue(msg.Body.GetChar(this.name) == 'a');
            }
            catch(NMSException)
            {
                Assert.IsTrue(false);
            }
        }