@Test
public void verifyAdministrator() {
List myGrantedAuthoritiesList = new ArrayList();
myGrantedAuthoritiesList.addAll(grantedAuthoritiesList);
myGrantedAuthoritiesList.add(new GrantedAuthorityImpl(AuthenticationUtils.ROLE_ADMIN));
expect(mockAuthentication.getAuthorities()).andReturn(myGrantedAuthoritiesList);
replay(mockAuthentication);
assertThat(defaultWidgetCommentPermissionEvaluator.hasPermission(mockAuthentication, null, Permission.ADMINISTER), is(true));