public void negotiationErrorScreenForFailureToComplete() throws Exception {
WikiPage root = InMemoryPage.makeRoot("RooT");
FitNesseContext context = FitNesseUtil.makeTestContext(root);
Responder responder = new NegotiateAuthenticator.UnauthenticatedNegotiateResponder("token");
Request request = new MockRequest();
SimpleResponse response = (SimpleResponse) responder.makeResponse(context, request);
assertEquals("Negotiate token", response.getHeader("WWW-Authenticate"));
String content = response.getContent();
assertSubString("Negotiated authentication required", content);
assertSubString("Your client failed to complete required authentication", content);
}