-
```
When using dependency injection, and there is multiple 1 arg constructor, and
only one mock that can match. Mockito can fail :
org.mockito.exceptions.base.MockitoException:
Cannot instantiate @…
-
```
The test case below can pass with mockito 1.8.5 but failed with mockito 1.9.5.
MethodNotFoundException occurs.
@Test
public void test_mock_object_with_multiple_interfaces() throws Except…
-
```
The test case below can pass with mockito 1.8.5 but failed with mockito 1.9.5.
MethodNotFoundException occurs.
@Test
public void test_mock_object_with_multiple_interfaces() throws Except…
-
I'm not sure whether it's mockito-kotlin as it seems that something is wrong on boundary of kotlin/mockito, however it might be a thing that mockito-kotlin can solve somehow.
It seems like that usi…
Th4n updated
5 months ago
-
The first < of every XML-listing is blue instead of black.
````
\begin{lstlisting}[language=XML,caption={Eintrag zu Mockito nach der Änderung (Auszug aus der Datei \code{parent/pom.xml})}]
…
-
See https://github.com/mockito/mockito/issues/1013#issuecomment-666994541.
Will Mockito ever support static mocking of `System` and `Thread`. I have a use case where I would like to mock the return…
-
```
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…
-
```
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…
-
```
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…
-
```
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…