-
```
Here is my class under test:
public class MockMe {
private static final MockMe ME = new MockMe();
public static MockMe getInstance() {
return ME;
}
}
And here is my te…
-
```
What steps will reproduce the problem?
1. Create a class to test that calls remote REST endpoing using
com.sun.jersey.api.client.WebResource:
webResource.path("url").accept(MediaType.APPLICATION…
-
Hi,
While I try to compile the java server, I had found that current jar dependencies might create a jar hell. ( It might be an issue if we upgrade build tool in future and thing might no longer w…
-
The "mock-maker-inline" is not available on Android, the error message can be optimized so the message "This mock maker is not supported on Android" stands on the first line of the exception.
Curre…
-
We found that the behaviour of verifyNoMoreInteractions changed in the Junit5 integration. In Junit4, verifyNoMoreInteractions would take interactions with stubbed methods into account, which means th…
-
I have some code that performs some work in sequence, then performs several additional operations, and then performs some more work in sequence. I want the additional operations to happen in the midd…
-
```
What steps will reproduce the problem?
1. Try to mock any Android final class
What is the expected output? What do you see instead?
Expect the class to get mocked.
What version of the product ar…
-
The original mockito in Java has that and it's very convenient; can this be implemented in python mockito as well?
I'm a beginner in python but AFAICS this can be implemented as such:
```python
…
-
```
What steps will reproduce the problem?
1. Create a spy for a class from a signed jar (Table mySpy =
Mockito.spy(Table.class))
2. Define behavior (when(mySpy.foo()).thenReturn(x))
This results in…
-
dependency:
```
org.powermock
powermock-module-junit4
2.0.2
test
org.powermock
powermock-ap…