### Question:
BlueprintELResolver extends ELResolver { public void bindService(JavaDelegate delegate, Map<?, ?> props) { String name = (String) props.get("osgi.service.blueprint.compname"); delegateMap.put(name, delegate); LOGGER.info("added service to delegate cache " + name); }  @Override Object getValue(ELContext context, Object base, Object property); void bindService(JavaDelegate delegate, Map<?, ?> props); void unbindService(JavaDelegate delegate, Map<?, ?> props); void bindTaskListenerService(TaskListener delegate, Map props); void unbindTaskListenerService(TaskListener delegate, Map props); void bindActivityBehaviourService(ActivityBehavior delegate, Map props); void unbindActivityBehaviourService(ActivityBehavior delegate, Map props); @Override boolean isReadOnly(ELContext context, Object base, Object property); @Override void setValue(ELContext context, Object base, Object property,
			Object value); @Override Class<?> getCommonPropertyType(ELContext context, Object arg); @Override Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
			Object arg); @Override Class<?> getType(ELContext context, Object arg1, Object arg2);  }### Answer:
@Test public void bindService() { Map<String, String> props = new HashMap<String, String>(); props.put(OSGI_SERVICE_BLUEPRINT_COMPNAME, "delegate"); MockDelegate delegate = new MockDelegate(); resolver.bindService(delegate, props); SimpleContext context = new SimpleContext(); Object object = resolver.getValue(context, null, "delegate"); assertThat(object == delegate, is(true)); assertThat(context.isPropertyResolved(), is(true)); }