public String dump()
  {
    final ProtocolVersion protocolVersion = AllProtocolVersions.LATEST_PROTOCOL_VERSION;
    final DataMap pathKeysMap = new DataMap(URIParamUtils.encodePathKeysForUri(_pathKeys, protocolVersion));
    final DataMap queryParamsMap = QueryParamsUtil.convertToDataMap(_queryParams, _queryParamClasses, protocolVersion);

    final ToStringBuilder builder = new ToStringBuilder(null, ToStringStyle.SHORT_PREFIX_STYLE)
        .append("baseUriTemplate", _baseUriTemplate)
        .append("pathKeys", Data.dump("", pathKeysMap, ""))
        .append("id", _id)
        .append("queryParams", Data.dump("", queryParamsMap, ""));

    return builder.toString();
  }
@Test
  public void testDump()
  {
    final Request<?> request = Mockito.mock(Request.class);
    Mockito.when(request.getBaseUriTemplate()).thenReturn(BASE_URI_TEMPLATE);
    Mockito.when(request.getPathKeys()).thenReturn(PATH_KEYS);
    Mockito.when(request.getQueryParamsObjects()).thenReturn(QUERY_PARAMS_OBJECTS);

    final RestliRequestUriSignature signature = new RestliRequestUriSignature(request, RestliRequestUriSignature.ALL_FIELDS);
    final String dump = signature.dump();
    Assert.assertNotNull(dump);
  }