@Test public void canResolve_should_returnFalseWhenItsExecutionEntityAndPropertyIsNotExecution() { boolean canResolve = resolver.canResolve("anyOtherProperty", new ExecutionEntityImpl()); assertThat(canResolve).isFalse(); }
@Override public boolean canResolve(String property, VariableScope variableScope) { return EXECUTION_KEY.equals(property) && (variableScope instanceof ExecutionEntity || variableScope instanceof TaskEntity); }
ExecutionElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return EXECUTION_KEY.equals(property) && (variableScope instanceof ExecutionEntity || variableScope instanceof TaskEntity); } }
ExecutionElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return EXECUTION_KEY.equals(property) && (variableScope instanceof ExecutionEntity || variableScope instanceof TaskEntity); }  }
ExecutionElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return EXECUTION_KEY.equals(property) && (variableScope instanceof ExecutionEntity || variableScope instanceof TaskEntity); }  @Override boolean canResolve(String property, VariableScope variableScope); @Override Object resolve(String property, VariableScope variableScope); }
ExecutionElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return EXECUTION_KEY.equals(property) && (variableScope instanceof ExecutionEntity || variableScope instanceof TaskEntity); }  @Override boolean canResolve(String property, VariableScope variableScope); @Override Object resolve(String property, VariableScope variableScope);  }