EndpointUtil { public static String encodeClientURI(String uri) { if (uri == null) { return Constants.URI_CLIENT_PREFIX; } return Constants.URI_CLIENT_PREFIX + uri; }  static String encodeEndpoint(String uri, String operation); static String decodeEndpointURI(String endpoint); static String decodeEndpointOperation(String endpoint, boolean stripped); static String encodeClientURI(String uri); static String decodeClientURI(String clientUri); static EndpointRef getSourceEndpoint(Trace fragment);  }
@Test public void testEncodeClientURI() { assertEquals(Constants.URI_CLIENT_PREFIX + URI, EndpointUtil.encodeClientURI(URI)); }