public void testReadStringFromDouble() throws Exception
{
double value = RandomUtil.randomDouble();
HornetQStreamMessage message = new HornetQStreamMessage();
message.writeDouble(value);
message.reset();
Assert.assertEquals(Double.toString(value), message.readString());
}