public void testFail() {
   ActionCondition condition = new ActionConditionImpl(ID, HasAspectEvaluator.NAME, null);
   condition.setParameterValue(HasAspectEvaluator.PARAM_ASPECT, ContentModel.ASPECT_VERSIONABLE);
   assertFalse(this.evaluator.evaluate(condition, this.nodeRef));
 }
 public void testPass() {
   this.nodeService.addAspect(this.nodeRef, ContentModel.ASPECT_VERSIONABLE, null);
   ActionCondition condition = new ActionConditionImpl(ID, HasAspectEvaluator.NAME, null);
   condition.setParameterValue(HasAspectEvaluator.PARAM_ASPECT, ContentModel.ASPECT_VERSIONABLE);
   assertTrue(this.evaluator.evaluate(condition, this.nodeRef));
 }