private IHostBuilder CreateHostBuilder(RequestDelegate requestDelegate, HttpProtocols?protocol = null, Action <KestrelServerOptions> configureKestrel = null, bool?plaintext = null) { return(HttpHelpers.CreateHostBuilder(AddTestLogging, requestDelegate, protocol, configureKestrel, plaintext)); }