@Test
public void testAuthSucceededNoCache() throws Exception {
final TargetAuthenticationStrategy authStrategy = new TargetAuthenticationStrategy();
final HttpHost authhost = new HttpHost("somehost", 80);
final BasicScheme authScheme = new BasicScheme();
authScheme.processChallenge(new BasicHeader(AUTH.WWW_AUTH, "Basic realm=test"));
final HttpContext context = new BasicHttpContext();
context.setAttribute(ClientContext.AUTH_CACHE, null);
authStrategy.authSucceeded(authhost, authScheme, context);