// Add users
Map vars = new HashMap();
Reader reader;
try {
reader = new FileReader(new File("./src/test/resources/LoadUsers.mvel"));
Map<String, User> users = ( Map<String, User> ) eval( reader, vars );
for ( User user : users.values() ) {
taskSession.addUser( user );
}
reader = new FileReader(new File("./src/test/resources/LoadGroups.mvel"));
Map<String, Group> groups = ( Map<String, Group> ) eval( reader, vars );
for ( Group group : groups.values() ) {
taskSession.addGroup( group );
}
} catch (FileNotFoundException e) {