@Test
    void testConnectTimeoutExceptionFromNullMessageAndHost() {
        final ConnectTimeoutException ctx = ConnectExceptionSupport.createConnectTimeoutException(null, null);
        Assertions.assertEquals("Connect to remote endpoint timed out", ctx.getMessage());
    }
Unit tests for exceptions.
Trivial, but it looks better in the Clover reports.
httpclient5/src/test/java/org/apache/hc/client5/http/ConnectExceptionSupportTest.java