*/
@Test
public void testAuthenticate()
{
final JaasAuthenticationProvider provider = context.mock(JaasAuthenticationProvider.class);
final JaasAuthenticationToken token = context.mock(JaasAuthenticationToken.class);
final UsernamePasswordAuthenticationToken auth = context.mock(UsernamePasswordAuthenticationToken.class);
final UserDetailsService uds = context.mock(UserDetailsService.class);
final UserDetails ud = context.mock(UserDetails.class);
context.checking(new Expectations()