{
ActiveMQStreamMessage msg = new ActiveMQStreamMessage();
try {
float test = 4.4f;
msg.writeFloat(test);
msg.reset();
assertTrue(msg.readFloat()==test);
msg.reset();
assertTrue(msg.readDouble()==test);
msg.reset();
assertTrue(msg.readString().equals(new Float(test).toString()));