@Test
public void testCloseResultSetQuietly_StatementCloseException() throws Exception {

    Statement statement = mock(Statement.class);
    ResultSet resultSet = mock(ResultSet.class);
    when(resultSet.getStatement()).thenReturn(statement);
    doThrow(new SQLException("SQL Exception")).when(statement).close();
    DBUtils.closeQuietly(resultSet);
    verify(resultSet, times(1)).close();
    verify(statement, times(1)).close();
}