Hi I have everything working in my stateless session bean(SLSB) but
unit testing is a bit awkward to say the least.
I have a SLSB that uses JMS to send messages and have several other methods in the bean. I wrote a quick Messgedriven bean to call the SLSB when i simply drop a text message onto a queue that the MDB is listening to and it also works great but this seems so overkill and I want to write a
Junit to test my SLSB methods. The lookup continues to fail even though I call it exactly the same.
must I have to use mock
ejb or something else besides a simple Junit?
has anyone ran into this issue? pleas help
thanks