@Test
public void testCloseConnectionQuietly_Exception() throws Exception {

    Connection connection = mock(Connection.class);
    doThrow(new SQLException("SQL Exception")).when(connection).close();
    DBUtils.closeQuietly(connection);
    verify(connection, times(1)).close();
}