}
@Test
public void invalidAuthorizationHeaderShouldProduceNullCredentials() throws Exception {
MockRequest request = new MockRequest();
request.addHeader("Authorization", "blah");
NegotiateAuthenticator authenticator = new NegotiateAuthenticator(manager, properties);
authenticator.negotiateCredentials(request);
assertNull(request.getAuthorizationUsername());
assertNull(request.getAuthorizationPassword());
}