The Agroal integration module is using Mockito but it requires libraries.mockito_inline as well to be able to create mocks on more recent JDKs.