Assert.assertEquals(value, message.getDouble(itemName));
}
public void testGetDoubleFromInvalidType() throws Exception
{
HornetQMapMessage message = new HornetQMapMessage();
message.setChar(itemName, RandomUtil.randomChar());
try
{
message.getDouble(itemName);
Assert.fail("MessageFormatException");
}
catch (MessageFormatException e)
{
}