LocalReadWriteProxyTransaction extends LocalProxyTransaction { @Override CommitLocalTransactionRequest commitRequest(final boolean coordinated) { final CursorAwareDataTreeModification mod = getModification(); final CommitLocalTransactionRequest ret = new CommitLocalTransactionRequest(getIdentifier(), nextSequence(), localActor(), mod, recordedFailure, coordinated); closedException = this::submittedException; return ret; } LocalReadWriteProxyTransaction(final ProxyHistory parent, final TransactionIdentifier identifier,
        final DataTreeSnapshot snapshot);   LocalReadWriteProxyTransaction(final ProxyHistory parent, final TransactionIdentifier identifier);   }
@Test public void testCommitRequest() { transaction.doWrite(PATH_1, DATA_1); final boolean coordinated = true; final CommitLocalTransactionRequest request = transaction.commitRequest(coordinated); Assert.assertEquals(coordinated, request.isCoordinated()); Assert.assertEquals(modification, request.getModification()); }