LocalApiDefinitionRegistry extends AbstractService { public void setRegistryPath(String registryPath) { this.registryPath = registryPath; } LocalApiDefinitionRegistry();  LocalApiDefinitionRegistry(String registryPath); void setApiManager(ApiManager apiManager); void setEnabled(boolean enabled); void setRegistryPath(String registryPath);  }
@Test public void test() throws Exception { URL resource = LocalApiDefinitionRegistryTest.class.getResource("/registry"); registry.setRegistryPath(URLDecoder.decode(resource.getPath(), "UTF-8")); registry.start(); }