TransactionCanCommitSuccess extends TransactionSuccess<TransactionCanCommitSuccess> { @Override protected TransactionCanCommitSuccess cloneAsVersion(final ABIVersion version) { return this; } TransactionCanCommitSuccess(final TransactionIdentifier identifier, final long sequence);   }
@Test public void cloneAsVersionTest() { final TransactionCanCommitSuccess clone = OBJECT.cloneAsVersion(ABIVersion.BORON); Assert.assertEquals(OBJECT, clone); }