ModuleRegistry { public RestUri getSearchUriForResource(String resource) { return getBaseUriForResource(resource).slash("search"); }  RestUri getBaseUriForResource(String resource); RestUri getSearchUriForResource(String resource); RestUri getBaseUriForModule(String module); boolean isModuleRegistered(String module); void loadResources(); String getModuleForResource(String resource); static final String MODULE_POST_FIX; }
@Test public void testGetSearchUriForResource() throws Exception { String uri = moduleRegistry.getSearchUriForResource("users").getUri(); assertEquals("uri", "http: }