Description
We can remove the `--add-exports` compile option for Java 17 introduced by SPARK-37070 by doing the following:
- Introduce test dependence: mockito-inline
- Upgrade mockito version from 3.4.x to 3.12.x
- Upgrade org.scalatestplus:mockito from 3-4 to 3-12