@Test public void addToStringAttributesTest() { final MoreObjects.ToStringHelper result = OBJECT.addToStringAttributes(MoreObjects.toStringHelper(OBJECT)); Assert.assertTrue(result.toString().contains("modifications=1")); Assert.assertTrue(result.toString().contains("protocol=" + PROTOCOL)); }
@Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("modifications", modifications.size()) .add("protocol", protocol); }
ModifyTransactionRequest extends TransactionRequest<ModifyTransactionRequest> implements SliceableMessage { @Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("modifications", modifications.size()) .add("protocol", protocol); } }
ModifyTransactionRequest extends TransactionRequest<ModifyTransactionRequest> implements SliceableMessage { @Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("modifications", modifications.size()) .add("protocol", protocol); } ModifyTransactionRequest(final TransactionIdentifier target, final long sequence, final ActorRef replyTo,
        final List<TransactionModification> modifications, final PersistenceProtocol protocol); }
ModifyTransactionRequest extends TransactionRequest<ModifyTransactionRequest> implements SliceableMessage { @Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("modifications", modifications.size()) .add("protocol", protocol); } ModifyTransactionRequest(final TransactionIdentifier target, final long sequence, final ActorRef replyTo,
        final List<TransactionModification> modifications, final PersistenceProtocol protocol); Optional<PersistenceProtocol> getPersistenceProtocol(); List<TransactionModification> getModifications(); }
ModifyTransactionRequest extends TransactionRequest<ModifyTransactionRequest> implements SliceableMessage { @Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("modifications", modifications.size()) .add("protocol", protocol); } ModifyTransactionRequest(final TransactionIdentifier target, final long sequence, final ActorRef replyTo,
        final List<TransactionModification> modifications, final PersistenceProtocol protocol); Optional<PersistenceProtocol> getPersistenceProtocol(); List<TransactionModification> getModifications();  }