FeatureIssue issue=IssuesListTestHelper.createFeatureIssue("Issue"); //$NON-NLS-1$
Listener l=new Listener();
issue.addIssueListener(l);
Object oldValue=issue.getPriority();
Priority newPriority=Priority.TRIVIAL;
issue.setPriority(newPriority);
assertEquals(issue, l.source);
assertEquals(newPriority, l.newValue);
assertEquals(oldValue, l.oldValue);
assertEquals(IssueChangeType.PRIORITY, l.change);