I have created an implementation of a JMS message driven bean and need to know the best wy to test it. I have my own mock Queue which I inject into the bean but now am wondered how do I call a method with the signature
onMessage(Message incomingMessage)
when I can't implement a Message object. ( Or can you tell me how best I can implement a Message object )
Thnx