-
### Description
Robolectric occurs OutOfMemory exception when mocking InputStream for drawable creation:
`Drawable.createFromStream(inputStream, null);`
### Steps to Reproduce
- mock InputStream…
-
https://github.com/spring-projects/spring-framework/wiki/What%27s-New-in-Spring-Framework-6.x#whats-new-in-version-60
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.1-Release-Notes…
-
Hello it's me again :-),
after upgrading our big project from 1 to mockito 3 we have no performance problem, if all unit tests are run.
Yet in the daily developing work we recognised that curren…
-
### Introduction
This issue explores the addition of "strict" behavior and APIs to Mockito. Traditionally, Mockito is a lenient mocking framework. For background and motivation, check out Szczepan'…
-
I am trying to mock a class using `Mockito-Android`. But I am getting `IllegalStateException` when I do so.
I just mock a class like this `Wrapper wrapper = mock(ClassName.class);`
Tried differ…
-
Currently, Mockito Javadocs are published by external javadoc.io service: https://static.javadoc.io/org.mockito/mockito-core/2.24.5/org/mockito/Mockito.html
When https://github.com/mockito/shipkit/is…
-
Hi, we're experiencing an issue very similar to #2793 where some tests fail with an assertion error:
```
java.lang.AssertionError
at org.mockito.internal.util.MockUtil.getMockHandlerOrNull(MockUti…
-
Assume an LLM responds with something like
```java
package com.eval;
import org.junit.jupiter.api.Test;
import org.mockito.InMockito;
import static org.junit.jupiter.api.Assertions.*;
…
-
```dart
class Listener extends Mock {
void call(T? previous, T next);
}
void main() {
ProviderContainer makeProviderContainer() {
final ProviderContainer container = ProviderContainer(…
-
Hey,
I'm running a scheduler implemented by multiple threads test , and using mockito to mock some task. Mockito complains that some of my task methods are not executed.But the scheduler log says tho…