public void testUnsupportedChallenge() throws Exception {
List authPrefs = new ArrayList(3);
authPrefs.add(AuthPolicy.NTLM);
authPrefs.add(AuthPolicy.BASIC);
authPrefs.add(AuthPolicy.DIGEST);
HttpParams httpparams = new DefaultHttpParams();
httpparams.setParameter(AuthPolicy.AUTH_SCHEME_PRIORITY, authPrefs);
AuthChallengeProcessor processor = new AuthChallengeProcessor(httpparams);
Map map = new HashMap();
map.put("unsupported1", "unsupported1 realm=\"whatever\"");