}
@Test
public void testChallengeNTLMPOST() throws IOException, ServletException {
MockWindowsIdentity mockWindowsIdentity = new MockWindowsIdentity("user", new ArrayList<String>());
SimpleHttpRequest request = new SimpleHttpRequest();
WindowsPrincipal windowsPrincipal = new WindowsPrincipal(mockWindowsIdentity);
request.setUserPrincipal(windowsPrincipal);
request.setMethod("POST");
request.setContentLength(0);
request.addHeader("Authorization", "NTLM TlRMTVNTUAABAAAABzIAAAYABgArAAAACwALACAAAABXT1JLU1RBVElPTkRPTUFJTg==");
SimpleFilterChain filterChain = new SimpleFilterChain();
SimpleHttpResponse response = new SimpleHttpResponse();
this.filter.doFilter(request, response, filterChain);
assertEquals(401, response.getStatus());
String[] wwwAuthenticates = response.getHeaderValues("WWW-Authenticate");