ConnectClientRequest extends Request<ClientIdentifier, ConnectClientRequest> { @Override protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) { return super.addToStringAttributes(toStringHelper).add("minVersion", minVersion).add("maxVersion", maxVersion); } ConnectClientRequest(final ClientIdentifier identifier, final long txSequence, final ActorRef replyTo,
            final ABIVersion minVersion, final ABIVersion maxVersion);  ConnectClientRequest(final ClientIdentifier identifier, final ActorRef replyTo, final ABIVersion minVersion,
            final ABIVersion maxVersion); private  ConnectClientRequest(final ConnectClientRequest request, final ABIVersion version); ABIVersion getMinVersion(); ABIVersion getMaxVersion(); @Override ConnectClientFailure toRequestFailure(final RequestException cause);  }
@Test public void addToStringAttributesTest() { final MoreObjects.ToStringHelper result = OBJECT.addToStringAttributes(MoreObjects.toStringHelper(OBJECT)); Assert.assertTrue(result.toString().contains("minVersion=" + MIN_VERSION)); Assert.assertTrue(result.toString().contains("maxVersion=" + MAX_VERSION)); }