-
**Description**
Mocks inside unit tests seem to fail when adding the paparazzi plugin. Errors such as:
`java.lang.NoClassDefFoundError: Could not initialize class android.view.accessibility.Accessib…
-
**Describe the bug**
Updating `pom.xml` to use [scijava](https://github.com/scijava/pom-scijava/) 36.0.0 leads to the Mockito wrapper tests failing when running `mvn test -P allTests`
**Expected b…
-
Hi.
With `23.4.223.000.0-Eclipse_2023-03`, I run into a strange issue: some methods are just skipped rather than formatted, while the rest of the file is processed just fine, and the conditions for…
-
I haven't tracked down the responsible, but I ran with leak detection and found this:
```
Aug 16, 2017 10:58:18 AM io.netty.util.ResourceLeakDetector reportTracedLeak
SEVERE: LEAK: ByteBuf.releas…
-
Hi,
function calls being mocked in the test class are not available in the actual class under test. When the flow goes to thenComposeAsync() a new thread gets created where the mocked method calls …
-
lib is deprecated and causes issues with java 21 and up. Also update workflows to java 21. Example https://github.com/microsoft/kiota-java/pull/1538
-
- [ ] The mockito message in the stacktrace have useful information, but it didn't help:
```
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (al…
-
LinkageCheckerMain with `-a org.mockito:mockito-core:2.28.2,junit:junit:4.12`. Are they valid errors?
```
Class org.mockito.internal.creation.bytebuddy.inject.MockMethodDispatcher is not found;
…
-
```
The following test case can not pass with PowerMock 1.4.11 + Mockito 1.8.5 or
PowerMock 1.5.4 + Mockito 1.9.5. ClassCastException occurs.
@Test
public void test_mock_object_with_multiple…
-
Hi,
I want to re-stub a method that already has a default behaviour in the @Before method. The default behaviour is to throw an exception (CustomerNotFound) to simulate the behaviour on a newly set…