Mock for MQ ?

I want to test whether a component successfully created a message on an MQ queue ... and check the content of that message.

Is this possible ?

Thanks

Fraser.