Used to create all types of JMS mock objects.
Maintains the necessary dependencies between the mock objects.
If you use the mock objects returned by this
factory in your tests you can be sure that they are all
up to date. If you are using JNDI for obtaining the
connection factories you have to bind them to the mock JNDI context
with
com.mockrunner.ejb.EJBTestModule.bindToContext .