While spring-boot-autoconfigure uses Mockito, the build does not declare it. Looking at the current dependencies output, it is brought via sendgrid.

The upgrade to 4.2.3 broke our build as it is no longer provided. We should add that dependency explicitly anyway.