@Test
public void testPreemptive() throws Exception {

    J4pAuthenticator auth = new BasicAuthenticator().preemptive();
    HttpClientBuilder builder = HttpClientBuilder.create();
    auth.authenticate(builder, "test", "test");
    builder.build();
}