public static void close(final AutoCloseable closeable) {
        if (null == closeable) {
            return;
        }
        try {
            closeable.close();
            // CHECKSTYLE:OFF
        } catch (final Exception ignored) {
            // CHECKSTYLE:ON
        }
    }
@Test
    void assertClose() throws Exception {
        AutoCloseable mockAutoCloseable = mock(AutoCloseable.class);
        doThrow(new SQLException("test")).when(mockAutoCloseable).close();
        QuietlyCloser.close(mockAutoCloseable);
        assertDoesNotThrow(() -> verify(mockAutoCloseable, times(1)).close());
    }