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