CommitLocalTransactionRequest extends AbstractLocalTransactionRequest<CommitLocalTransactionRequest> { @Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("coordinated", coordinated) .add("delayedError", delayedFailure); } CommitLocalTransactionRequest(final @NonNull TransactionIdentifier identifier, final long sequence,
            final @NonNull ActorRef replyTo, final @NonNull DataTreeModification mod,
            final @Nullable Exception delayedFailure, final boolean coordinated); Optional<Exception> getDelayedFailure(); DataTreeModification getModification(); boolean isCoordinated();  }
@Test public void addToStringAttributesTest() { final MoreObjects.ToStringHelper result = OBJECT.addToStringAttributes(MoreObjects.toStringHelper(OBJECT)); Assert.assertTrue(result.toString().contains("coordinated=" + COORDINATED)); }