public void testFloatPropertyLookup()
{
try
{
JMSMapMessage mm = TestMessageHelper.newJMSMapMessage();
mm.setFloatProperty("value", Float.MAX_VALUE);
Assert.assertEquals(Float.MAX_VALUE, mm.getFloatProperty("value"), 0f);
Assert.assertEquals(Double.valueOf(Float.MAX_VALUE), mm.getDoubleProperty("value"), 0d);
Assert.assertEquals("" + Float.MAX_VALUE, mm.getStringProperty("value"));
}
catch (JMSException e)
{
Assert.fail("JMSException received." + e);
}