log.info("testIsSameRM");
if (log != null) log.info("testIsSameRM");
    public void testIsSameRM() throws Exception {                log.info("testIsSameRM");        FBManagedConnectionFactory mcf1 = initMcf();        ManagedConnection mc1 = mcf1.createManagedConnection(null, null);        XAResource xa1 = mc1.getXAResource();        ManagedConnection mc2 = mcf1.createManagedConnection(null, null);        XAResource xa2 = mc2.getXAResource();        FBManagedConnectionFactory mcf3 = initMcf();        ManagedConnection mc3 = mcf3.createManagedConnection(null, null);        XAResource xa3 = mc3.getXAResource();        if (!xa1.isSameRM(xa2)) {            throw new Exception("isSameRM reports difference from same mcf");        }        if (xa1.isSameRM(xa3)) {            throw new Exception("isSameRM reports no difference from different mcf");        }        mc1.destroy();        mc2.destroy();    }