EJBTestModule
.BillEntityBean
objects
which are not paid and marks them as paid.EJBTestModule.bindToContext(String, Object)
rebind
UserTransaction
to the specified
JNDI context.EJBTestModule.createBean(String)
EJBTestModule.createBean(String, String, Object[])
EJBTestModule.createBean(String, Object[])
EJBMockObjectFactory
.EJBTestModule
based on the current
EJBMockObjectFactory
.EJBTestModule
with the specified
EJBMockObjectFactory
.EJBTestModule.createEntityBean(String, Object)
MockUserTransaction
using new
.EJBTestModule.deploy(BasicEjbDescriptor)
EJBTestModule.deployEntityBean(String, Class)
EJBTestModule.deploySessionBean(String, Class)
EJBTestModule.deploySessionBean(String, Object)
EJBTestModule.findByPrimaryKey(String, Object)
EJBMockObjectFactory
.EJBTestModule
.MockContainer
.MockUserTransaction
.MockUserTransaction.begin()
calls.MockUserTransaction.commit()
calls.MockUserTransaction.rollback()
calls.MockUserTransaction.setRollbackOnly()
calls.UserTransaction
.MockContextFactory.setAsInitial()
, if the
MockContextFactory
is not already the current
context factory.MockContextFactory.setAsInitial()
, if
MockContextFactory
is not already the current
context factory.EJBTestModule.lookup(String)
UserTransaction
.PaySessionBean
.MockContextFactory.revertSetAsInitial()
, if the
MockContextFactory
is the current context factory.MockContextFactory.revertSetAsInitial()
, if
MockContextFactory
is the current context factory.EJBTestModule.resetUserTransaction()
MockUserTransaction
.EJBTestModule.setBusinessInterfacePackage(String)
EJBTestModule.setBusinessInterfaceSuffix(String)
EJBMockObjectFactory
.EJBMockObjectFactory
.EJBTestModule
.EJBTestModule.setHomeInterfacePackage(String)
EJBTestModule.setHomeInterfaceSuffix(String)
EJBTestModule.setImplementationSuffix(String)
EJBTestModule.setInterfacePackage(String)
EJBTestModule
.UserEntityBean
.EJBTestModule.verifyCommitted()
EJBTestModule.verifyMarkedForRollback()
setRollbackOnly()
.EJBTestModule.verifyNotCommitted()
EJBTestModule.verifyNotMarkedForRollback()
EJBTestModule.verifyNotRolledBack()
EJBTestModule.verifyRolledBack()
MockUserTransaction.begin()
was called.MockUserTransaction.commit()
was called.MockUserTransaction.rollback()
was called.MockUserTransaction.setRollbackOnly()
was called.Copyright © 2003-2018. All Rights Reserved.