public void testPermissionConditionNoIssue() {
    wfc.setupResult("getCaller", "bob");
    wfe.setupResult("getId", new Long(101));

    try {
      assertFalse(condition.passesCondition(transientVars, args, null));
      fail("No issue; should have thrown a DataAccessException");
    } catch (DataAccessException dae) {
    }
  }
  public void testPermissionConditionOk2() {
    wfc.setupResult("getCaller", "bill");
    wfe.setupResult("getId", new Long(100));

    assertFalse(condition.passesCondition(transientVars, args, null));
  }
  public void testPermissionConditionOk1() throws WorkflowException {
    wfc.setupResult("getCaller", "bob");
    wfe.setupResult("getId", new Long(100));

    assertTrue(condition.passesCondition(transientVars, args, null));
  }