userRoleDao.setUserRoles( mainTenant_1, USER_2, new String[] { ROLE_1, ROLE_2, ROLE_3 } );
UserRoleDaoUserDetailsService userDetailsService = new UserRoleDaoUserDetailsService();
userDetailsService.setUserRoleDao( userRoleDao );
userDetailsService.setDefaultRole( tenantAuthenticatedRoleName );
UserDetails userFromService = userDetailsService.loadUserByUsername( USER_2 );
assertTrue( userFromService.getUsername().equals( USER_2 ) );
assertTrue( userFromService.getPassword() != null );
assertTrue( userFromService.isEnabled() == true );
assertTrue( userFromService.getAuthorities().length == 4 );