public void TestGetBytes()
{
ActiveMQTextMessage msg = new ActiveMQTextMessage();
String str = "testText";
msg.Text = str;
msg.BeforeMarshall(null);
byte[] bytes = msg.Content;
msg = new ActiveMQTextMessage();
msg.Content = bytes;
Assert.AreEqual(msg.Text, str);
}