Properties props = new Properties();
props.setProperty("closeConnection","false");
tf.setProperties(props);
Transaction tx = tf.newTransaction(conn, false);
assertEquals(conn, tx.getConnection());
tx.commit();
tx.rollback();
tx.close();
mockery.assertIsSatisfied();
}