* Test mappers are called correctly and non-null is returned.
*/
@Test
public void testLoadUserByUsernameWithAuthorityProvider()
{
final PersonMapper personMapper = context.mock(PersonMapper.class);
final PersistentLoginRepository loginRepo = context.mock(PersistentLoginRepository.class);
final AuthorityProvider authProvider = context.mock(AuthorityProvider.class);
final ArrayList<GrantedAuthority> auths = new ArrayList<GrantedAuthority>();
auths.add(context.mock(GrantedAuthority.class));