public void testBytePropertyLookup()
{
try
{
JMSMapMessage mm = TestMessageHelper.newJMSMapMessage();
mm.setByteProperty("value", Byte.MAX_VALUE);
Assert.assertEquals(Byte.MAX_VALUE, mm.getByteProperty("value"));
Assert.assertEquals((short) Byte.MAX_VALUE, mm.getShortProperty("value"));
Assert.assertEquals(Byte.MAX_VALUE, mm.getIntProperty("value"));
Assert.assertEquals((long) Byte.MAX_VALUE, mm.getLongProperty("value"));
Assert.assertEquals("" + Byte.MAX_VALUE, mm.getStringProperty("value"));
}
catch (JMSException e)
{
Assert.fail("JMSException received." + e);