assertEquals(windowsPrincipal, wrappedRequest.getUserPrincipal());
}
@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);