}
@Test
- public void testDoSeal() throws Exception {
+ public void testSealOnly() throws Exception {
assertOperationThrowsException(() -> transaction.getSnapshot(), IllegalStateException.class);
- transaction.doSeal();
+ transaction.sealOnly();
Assert.assertEquals(modification, transaction.getSnapshot());
}
final TransactionTester<RemoteProxyTransaction> transactionTester = createRemoteProxyTransactionTester();
final RemoteProxyTransaction successor = transactionTester.getTransaction();
doAnswer(this::applyToCursorAnswer).when(modification).applyToCursor(any());
- transaction.doSeal();
+ transaction.sealOnly();
transaction.flushState(successor);
verify(modification).applyToCursor(any());
transactionTester.getTransaction().seal();