Conditional dependency graaljs #4
GitHub Actions / Test report (macOS-latest, JDK 21)
failed
Nov 23, 2023 in 0s
192 tests run, 0 skipped, 2 failed.
Annotations
Check failure on line 84 in api/src/test/java/net/adamcin/oakpal/api/ProgressCheckTest.java
github-actions / Test report (macOS-latest, JDK 21)
ProgressCheckTest.testImportedPathDelegation
Cannot call abstract real method on java object!
Calling real methods is only possible when mocking non abstract method.
//correct example:
when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
Raw output
org.mockito.exceptions.base.MockitoException:
Cannot call abstract real method on java object!
Calling real methods is only possible when mocking non abstract method.
//correct example:
when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
at net.adamcin.oakpal.api.ProgressCheckTest.testImportedPathDelegation(ProgressCheckTest.java:84)
Check failure on line 109 in api/src/test/java/net/adamcin/oakpal/api/ViolationTest.java
github-actions / Test report (macOS-latest, JDK 21)
ViolationTest.testToJson
Cannot call abstract real method on java object!
Calling real methods is only possible when mocking non abstract method.
//correct example:
when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
Raw output
org.mockito.exceptions.base.MockitoException:
Cannot call abstract real method on java object!
Calling real methods is only possible when mocking non abstract method.
//correct example:
when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
at net.adamcin.oakpal.api.ViolationTest.testToJson(ViolationTest.java:109)
Loading