}
@Test
public void testReadThenWrite() {
TxManager txman = TxLite.getManager();
TxSession rsession = txman.openReadOnlySession();
TxSession wsession = txman.openReadWriteSession();
NamedCache writeA = wsession.connect(cacheA);
NamedCache rrA = rsession.connect(cacheA);
NamedCache rcA = txman.toReadCommited(cacheA);
Assert.assertThat(rrA.get("A"), IsNull.nullValue());
Assert.assertThat(rcA.get("A"), IsNull.nullValue());
Assert.assertThat(cacheA.get("A"), IsNull.nullValue());
Assert.assertThat(writeA.get("A"), IsNull.nullValue());