static String encodeElement(Object obj, URLEscaper.Escaping escaping, UriComponent.Type componentType)
  {
    StringBuilder builder = new StringBuilder();
    encodeDataObject(obj, escaping, componentType, builder);
    return builder.toString();
  }
@Test(dataProvider = "maps")
  public void testStringMapElement(DataMap map, String expectedElement)
  {
    String stringSimpleMap = URIParamUtils.encodeElement(map, NO_ESCAPING, null);
    Assert.assertEquals(stringSimpleMap, expectedElement);
  }