### Question:
DefaultHandlerRegistry implements HandlerRegistry { public Set<String> getSupportedRestServices() { Set<String> result = Sets.newTreeSet(); for (Map<String, SortedSet<RestPath>> methods : serviceMethodPathMap.values()) { for (Map.Entry<String, SortedSet<RestPath>> method : methods.entrySet()) { for (RestPath path : method.getValue()) { result.add(method.getKey() + ' ' + path.operationPath); } } } return Collections.unmodifiableSet(result); } @Inject  DefaultHandlerRegistry(Injector injector,
                                BeanJsonConverter beanJsonConverter,
                                HandlerExecutionListener executionListener); void addHandlers(Set<Object> handlers); RpcHandler getRpcHandler(JSONObject rpc); RestHandler getRestHandler(String path, String method); Set<String> getSupportedRestServices(); Set<String> getSupportedRpcServices();  }### Answer:
@Test public void testSupportedRestServices() throws Exception { assertEquals(registry.getSupportedRestServices(), Sets.newHashSet("GET /test/{someParam}/{someOtherParam}", "PUT /test/{someParam}/{someOtherParam}", "DELETE /test/{someParam}/{someOtherParam}", "POST /test/{someParam}/{someOtherParam}", "GET /test/overridden/method", "GET /test/echo")); }