assertFalse(TransactionInternal.containsOperationType(aggregate, Operation.TYPE_CREATE_SNAP));
// serialize transaction to buffer
int size = txn.getSize();
ReusableBuffer buf = BufferPool.allocate(size);
txn.serialize(buf);
assertEquals(buf.position(), size);
// deserialize transaction from buffer
buf.position(0);
TransactionInternal txn2 = TransactionInternal.deserialize(buf);