public void TestGetShort()
{
ActiveMQMapMessage msg = new ActiveMQMapMessage();
try
{
msg.Body.SetShort(this.name, (short)1);
msg = (ActiveMQMapMessage)msg.Clone();
Assert.IsTrue(msg.Body.GetShort(this.name) == (short)1);
}
catch(NMSException)
{
Assert.IsTrue(false);
}
}