ConnectClientSuccess extends RequestSuccess<ClientIdentifier, ConnectClientSuccess> { @Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("alternates", alternates) .add("dataTree present", getDataTree().isPresent()).add("maxMessages", maxMessages); } ConnectClientSuccess(final ClientIdentifier target, final long sequence, final ActorRef backend,
        final List<ActorSelection> alternates, final int maxMessages, final ReadOnlyDataTree dataTree);  ConnectClientSuccess(final @NonNull ClientIdentifier target, final long sequence,
            final @NonNull ActorRef backend, final @NonNull List<ActorSelection> alternates,
            final @NonNull ReadOnlyDataTree dataTree, final int maxMessages); @NonNull List<ActorSelection> getAlternates(); @NonNull ActorRef getBackend(); Optional<ReadOnlyDataTree> getDataTree(); int getMaxMessages();  }
@Test public void addToStringAttributes() { OBJECT.addToStringAttributes(MoreObjects.toStringHelper(OBJECT)); }