/**
* Tests get and set XATerminator
*/
public void testGetSetXATerminator() throws Exception {
GeronimoTransactionManager transactionManager = new GeronimoTransactionManager();
GeronimoWorkManager manager = new GeronimoWorkManager(pool, pool, pool, transactionManager);
GeronimoBootstrapContext context = new GeronimoBootstrapContext(manager, transactionManager);
XATerminator xat = context.getXATerminator();
assertSame("Make sure it is the same object", transactionManager, xat);