ExistsTransactionRequest extends AbstractReadPathTransactionRequest<ExistsTransactionRequest> { @Override protected ExistsTransactionRequest cloneAsVersion(final ABIVersion version) { return new ExistsTransactionRequest(this, version); } ExistsTransactionRequest(final @NonNull TransactionIdentifier identifier, final long sequence,
            final @NonNull  ActorRef replyTo, final @NonNull YangInstanceIdentifier path, final boolean snapshotOnly); private  ExistsTransactionRequest(final ExistsTransactionRequest request, final ABIVersion version);   }
@Test public void cloneAsVersionTest() { final ABIVersion cloneVersion = ABIVersion.TEST_FUTURE_VERSION; final ExistsTransactionRequest clone = OBJECT.cloneAsVersion(cloneVersion); Assert.assertEquals(cloneVersion, clone.getVersion()); Assert.assertEquals(OBJECT.getPath(), clone.getPath()); Assert.assertEquals(OBJECT.isSnapshotOnly(), clone.isSnapshotOnly()); }