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