package org.multiverse.stms.gamma.transactionalobjects.txnlong; import org.junit.Before; import org.junit.Test; import org.multiverse.stms.gamma.GammaStm; import org.multiverse.stms.gamma.transactionalobjects.GammaTxnLong; import static org.junit.Assert.assertEquals; public class GammaTxnLong_toDebugStringTest { private GammaStm stm; @Before public void setUp() { stm = new GammaStm(); } @Test public void test() { GammaTxnLong ref = new GammaTxnLong(stm); String s = ref.toDebugString(); assertEquals("GammaTxnLong{orec=Orec(hasExclusiveLock=false, hasWriteLock=false, readLocks=0, surplus=0, " + "isReadBiased=false, readonlyCount=0), version=1, value=0, hasListeners=false)", s); } }