public static URI createUri(final String uri) {
        if (StringUtils.isNotBlank(uri)) {
            return URI.create(uri);
        }
        return null;
    }
@Test
    void createUri() {
        URI uri = UriUtils.createUri("https://example.com");
        assertEquals("https://example.com", uri.toString());

        uri = UriUtils.createUri(null);
        assertNull(uri);

        uri = UriUtils.createUri("");
        assertNull(uri);

        uri = UriUtils.createUri("https", "example.com", "/http");
        assertEquals("https://example.com/http", uri.toString());
    }