Assert.assertNull(message.getBytes(itemName));
}
public void testGetBytesFromInvalidType() throws Exception
{
HornetQMapMessage message = new HornetQMapMessage();
message.setChar(itemName, RandomUtil.randomChar());
try
{
message.getBytes(itemName);
Assert.fail("MessageFormatException");
}
catch (MessageFormatException e)
{
}