@Test
public void testSealOnly() throws Exception {

    assertOperationThrowsException(() -> transaction.getSnapshot(), IllegalStateException.class);
    transaction.sealOnly();
    Assert.assertEquals(modification, transaction.getSnapshot());
}