create a BytesMessage for unit test
843830Jul 15 2005 — edited Jul 15 2005Hi,
I want to create a BytesMessage for unit test purpose, outside of appserver context. Anybody has done this or investigated this?
I looked online, seems there are some mock objects however they also involved mock session etc. I just want to create a BytesMesage object and pass to the listener.
Not sure if this is doable. Could you please advise?
Thanks.
Jian