ServiceRegistry implements IServiceRegistry { @Override public IService getServiceObject(String serviceId) { return servicesMap.get(serviceId); }  @PostConstruct void init(); @Override IService getServiceObject(String serviceId); @Override Map<String, String> getServiceIdNameMap();  }
@Test public void testGetService() { assertEquals(viafService, serviceRegistry.getServiceObject(viafService.getServiceId())); assertEquals(conceptpowerService, serviceRegistry.getServiceObject(conceptpowerService.getServiceId())); }