mockito fix

This commit is contained in:
Bane Stojkovic
2026-10-09 09:33:11 +02:00
parent 094d73da26
commit 772e936e65
3 changed files with 13 additions and 0 deletions
+11
View File
@@ -74,6 +74,17 @@
<version>5.11.0</version>
<scope>test</scope>
</dependency>
<!-- Subclass mock maker, selected in src/test/resources/mockito-extensions. Mockito 5
defaults to the inline maker, which attaches a Java agent to the running JVM; that
attachment fails outright on some CI JDKs and is deprecated since Java 21. Every type
mocked in these tests is an interface, which the subclass maker handles without an
agent. -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-subclass</artifactId>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
<!-- Local dependencies from lib folder -->
<dependency>
@@ -0,0 +1 @@
member-accessor-reflection
@@ -0,0 +1 @@
mock-maker-subclass