\r
// check test preconditions user name and authorities\r
Assert.assertEquals("descriptionEditor", context.getAuthentication().getName());\r
- Collection<GrantedAuthority> authorities = context.getAuthentication().getAuthorities();\r
+ Collection<? extends GrantedAuthority> authorities = context.getAuthentication().getAuthorities();\r
for(GrantedAuthority authority: authorities){\r
// role prefix 'ROLE_' is defined in org.springframework.security.access.vote.RoleVoter !!!\r
Assert.assertNotSame("user must not have authority 'ROLE_ADMIN'", "ROLE_ADMIN", authority.getAuthority());\r