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