DefaultEscalatedDeadlineHandler notificationHandler = new DefaultEscalatedDeadlineHandler(getConf());
WorkItemManager manager = new DefaultWorkItemManager( null );
notificationHandler.setManager( manager );
MockUserInfo userInfo = new MockUserInfo();
userInfo.getEmails().put( users.get("tony"), "tony@domain.com" );
userInfo.getEmails().put( users.get("luke"), "luke@domain.com" );
userInfo.getEmails().put( users.get("bobba"), "luke@domain.com" );
userInfo.getEmails().put( users.get("jabba"), "luke@domain.com" );
userInfo.getLanguages().put( users.get("tony"), "en-UK" );
userInfo.getLanguages().put( users.get("luke"), "en-UK" );
userInfo.getLanguages().put( users.get("bobba"), "en-UK" );
userInfo.getLanguages().put( users.get("jabba"), "en-UK" );
notificationHandler.setUserInfo( userInfo );
taskService.setEscalatedDeadlineHandler( notificationHandler );
String string = toString( new InputStreamReader( getClass().getResourceAsStream( "../DeadlineWithReassignment.mvel" ) ) );