### Question:
RESTEndpoint { public String getPath() { return path + paramsToString(); } private  RESTEndpoint(RESTEndpointBuilder builder); RESTResponse call(); @Override String toString(); String getPath(); static final String AUTHENTICATION_URI; static final String AUTHENTICATION_URI_API_VERSION; static final String CREATE_PROFILE_URI; static final String CREATE_PROFILE_URI_ACTION_VALUE; static final String CREATE_PROFILE_URI_API_VERSION; static final String SERVER_INFO_URI; static final String SERVER_INFO_URI_API_VERSION; }### Answer:
@Test public void shouldAppendThreePathsWithExtraSeparators() { final String path = "<path>"; final String append = "<append>"; RESTEndpoint endpoint = new RESTEndpoint.RESTEndpointBuilder() .path(path + "/") .path("/" + append + "/") .path("/" + append + "/") .build(); String toPathValue = endpoint.getPath(); assertThat(toPathValue).doesNotContain(" }