HornetQStreamMessage message = new HornetQStreamMessage();
message.writeString(Float.toString(value));
message.reset();
Assert.assertEquals(value, message.readFloat());
}
public void testReadFloatFromInvalidType() throws Exception
{
doReadTypeFromInvalidType(RandomUtil.randomBoolean(), new TypeReader()