ConnectClientRequest extends Request<ClientIdentifier, ConnectClientRequest> { @Override public ConnectClientFailure toRequestFailure(final RequestException cause) { return new ConnectClientFailure(getTarget(), getSequence(), cause); } 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 toRequestFailureTest() { final RequestException exception = new DeadTransactionException(ImmutableRangeSet.of()); final ConnectClientFailure failure = OBJECT.toRequestFailure(exception); Assert.assertNotNull(failure); }