public void AsyncRequestFailOnSendTwoMessagesTest()
{
transport.FailOnSendMessage = true;
transport.NumSentMessagesBeforeFail = 2;
transport.Start();
ActiveMQTextMessage message = new ActiveMQTextMessage();
transport.AsyncRequest(message);
transport.AsyncRequest(message);
transport.AsyncRequest(message);
}