@Test(expected = NullPointerException.class)
public void testSetNullHeaderValueNotValidate() {

    HttpHeaders headers = new DefaultHttpHeaders(false);
    headers.set(of("test"), (CharSequence) null);
}