ApiService service = EasyMock.createMock(ApiService.class);
ApiMethod method = EasyMock.createMock(ApiMethod.class);
Map<String, ApiMethod> allMethods = ImmutableMap.of("plus.method.name", method);
EasyMock.expect(service.allMethods()).andReturn(allMethods);
EasyMock.expect(service.displayTitle()).andReturn("Plus API");
EasyMock.expect(service.getVersion()).andReturn("v1");
EasyMock.replay(serviceLoader, delegate, service);
manager.processUrl("s/plus/v1/plus.method.name");