public void testByteLookup()
{
try
{
JMSMapMessage mm = TestMessageHelper.newJMSMapMessage();
mm.setByte("value", Byte.MAX_VALUE);
Assert.assertEquals(Byte.MAX_VALUE, mm.getByte("value"));
Assert.assertEquals((short) Byte.MAX_VALUE, mm.getShort("value"));
Assert.assertEquals(Byte.MAX_VALUE, mm.getInt("value"));
Assert.assertEquals((long) Byte.MAX_VALUE, mm.getLong("value"));
Assert.assertEquals("" + Byte.MAX_VALUE, mm.getString("value"));
}
catch (JMSException e)
{
Assert.fail("JMSException received." + e);