+ @VisibleForTesting
+ public static CommitTransactionPayload create(final TransactionIdentifier transactionId,
+ final DataTreeCandidate candidate) throws IOException {
+ return create(transactionId, candidate, 512);
+ }
+
+ public Entry<TransactionIdentifier, DataTreeCandidate> getCandidate() throws IOException {
+ return getCandidate(ReusableImmutableNormalizedNodeStreamWriter.create());
+ }
+
+ public Entry<TransactionIdentifier, DataTreeCandidate> getCandidate(final ReusableStreamReceiver receiver)
+ throws IOException {