for (int i = 0; i < 20; i++)
{
foreignBytesMessage.writeByte((byte)i);
}
HornetQBytesMessage copy = new HornetQBytesMessage(foreignBytesMessage, session);
foreignBytesMessage.reset();
copy.reset();
MessageHeaderTestBase.ensureEquivalent(foreignBytesMessage, copy);
}