@Test public void canResolve_should_returnFalseWhenItsNotTaskEntityEntityAndPropertyIsTask() { boolean canResolve = resolver.canResolve(TASK_KEY, mock(VariableScope.class)); assertThat(canResolve).isFalse(); }
@Override public boolean canResolve(String property, VariableScope variableScope) { return TASK_KEY.equals(property) && variableScope instanceof TaskEntity; }
TaskElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return TASK_KEY.equals(property) && variableScope instanceof TaskEntity; } }
TaskElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return TASK_KEY.equals(property) && variableScope instanceof TaskEntity; }  }
TaskElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return TASK_KEY.equals(property) && variableScope instanceof TaskEntity; }  @Override boolean canResolve(String property, VariableScope variableScope); @Override Object resolve(String property, VariableScope variableScope); }
TaskElResolver implements VariableScopeItemELResolver { @Override public boolean canResolve(String property, VariableScope variableScope) { return TASK_KEY.equals(property) && variableScope instanceof TaskEntity; }  @Override boolean canResolve(String property, VariableScope variableScope); @Override Object resolve(String property, VariableScope variableScope);  }