public void testPassesCondition() throws Exception {
AcegiRoleCondition condition = new AcegiRoleCondition();
Map transientVars = new HashMap();
Map args = new HashMap();
PropertySet ps = new MemoryPropertySet();
args.put(AcegiRoleCondition.ROLE, "manager");
assertTrue("Should be in manager role", condition.passesCondition(transientVars, args, ps));
args.put(AcegiRoleCondition.ROLE, "vp");