-
### Description of the bug:
The following two issues are found when I have unnecessary stubbing in tests with Mockito and JUnit.
1. unnecessary stubbings errors are swallowed and test passed w…
-
### Description
Robolectric occurs OutOfMemory exception when mocking InputStream for drawable creation:
`Drawable.createFromStream(inputStream, null);`
### Steps to Reproduce
- mock InputStream…
-
I was trying to integrate the version 1.0.2 into my project (jentis flutter plugin), but it seems that I'm unable to add the dependency to the classpath using
```groovy
dependencies {
implement…
-
In order to test our handlers in java, we need to use Mockito to mock an "object" that would trigger the handlers.
-
As a Smartsafe developer, I want to use JUnit, Mockito and AssertJ libraries in my unit and service tests.
**Acceptance criteria**:
- Maven dependencies are configured.
- A small test class with seve…
-
Hi,
first of all congratulations and thanks for the library, because to be honest setting up Dagger is really cumbersome.
I'm trying DaggerMock for the first time to mock my dependencies in the …
-
There's a number of [breaking changes coming up in Mockito v5](https://github.com/mockito/mockito/issues/2802), which we might want to support soon after their release. For now we're [pinned to v4](ht…
-
When using Powermocks `mockStatic` and then calling the `when(...).thenReturn(...)` method combination of Powermock, the `thenReturn` method will fail due to a change in Mockito 2.26.1.
See https://g…
-
Hey.
After upgrading my Spring Boot app to Spring Boot 3.2.0 (which implies Spring Security 6.2.0), I'm getting the below error message when trying to mock the class `ServerHttpSecurity` via `Mocki…
-
**Summary**
- Powermock seems no longer maintained https://github.com/powermock/powermock/issues/1117 where the last commit on the master was in 2020
- Using Powermock with Java 11 causing excessi…