@Test public void getValueWithNullProperty() { Object object = resolver.getValue(new SimpleContext(), null, null); assertThat(object, is(nullValue())); }
@Override public Object getValue(ELContext context, Object base, Object property) { if (base == null) { String key = (String) property; for (String name : delegateMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return delegateMap.get(name); } } for (String name : taskListenerMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return taskListenerMap.get(name); } } for (String name : activityBehaviourMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return activityBehaviourMap.get(name); } } } return null; }
BlueprintELResolver extends ELResolver { @Override public Object getValue(ELContext context, Object base, Object property) { if (base == null) { String key = (String) property; for (String name : delegateMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return delegateMap.get(name); } } for (String name : taskListenerMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return taskListenerMap.get(name); } } for (String name : activityBehaviourMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return activityBehaviourMap.get(name); } } } return null; } }
BlueprintELResolver extends ELResolver { @Override public Object getValue(ELContext context, Object base, Object property) { if (base == null) { String key = (String) property; for (String name : delegateMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return delegateMap.get(name); } } for (String name : taskListenerMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return taskListenerMap.get(name); } } for (String name : activityBehaviourMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return activityBehaviourMap.get(name); } } } return null; }  }
BlueprintELResolver extends ELResolver { @Override public Object getValue(ELContext context, Object base, Object property) { if (base == null) { String key = (String) property; for (String name : delegateMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return delegateMap.get(name); } } for (String name : taskListenerMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return taskListenerMap.get(name); } } for (String name : activityBehaviourMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return activityBehaviourMap.get(name); } } } return null; }  @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); }
BlueprintELResolver extends ELResolver { @Override public Object getValue(ELContext context, Object base, Object property) { if (base == null) { String key = (String) property; for (String name : delegateMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return delegateMap.get(name); } } for (String name : taskListenerMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return taskListenerMap.get(name); } } for (String name : activityBehaviourMap.keySet()) { if (name.equalsIgnoreCase(key)) { context.setPropertyResolved(true); return activityBehaviourMap.get(name); } } } return null; }  @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);  }