Open
Description
Describe the bug
Updating pom.xml
to use scijava 36.0.0 leads to the Mockito wrapper tests failing when running mvn test -P allTests
Expected behavior
All the tests pass
Additional context
A large number of these errors are produced
[ERROR] ThicknessWrapperTest.test2DImageCancelsPlugin:69
Wanted but not invoked:
userInterface.dialogPrompt(
<any string>,
<any string>,
<any>,
<any>
);
-> at org.bonej.wrapperPlugins.CommonWrapperTests.test2DImagePlusCancelsPlugin(CommonWrapperTests.java:222)
However, there was exactly 1 interaction with this mock:
userInterface.isVisible();
-> at org.scijava.ui.DefaultUIService.getVisibleUI(DefaultUIService.java:550)