public String toSecureString()
  {
    final StringBuilder sb = new StringBuilder();
    sb.append(getClass().getName());
    sb.append("{_method=").append(_method);
    sb.append(", _baseUriTemplate=").append(_baseUriTemplate);
    sb.append(", _methodName=").append(_methodName);
    sb.append(", _requestOptions=").append(_requestOptions);
    sb.append('}');
    return sb.toString();
  }
@Test
  public void testToSecureString()
  {
    GetRequestBuilder<Long, TestRecord> builder = generateDummyRequestBuilder();
    Request<TestRecord> request = builder.id(5L).build();
    Assert.assertEquals(
        request.toSecureString(),
        "com.linkedin.restli.client.GetRequest{_method=get, _baseUriTemplate=abc, _methodName=null, "
            + "_requestOptions=RestliRequestOptions{_protocolVersionOption=USE_LATEST_IF_AVAILABLE, "
            + "_requestCompressionOverride=null, _responseCompressionOverride=null, _contentType=null, "
            + "_acceptTypes=null, _acceptResponseAttachments=false}}");
  }