-
```
I try to verify a method with 3 parameters. Mockit just says "Argument(s)
are different!".
Now it is very hard to find out which argument is different since I have
three of them and the "toString…
-
java.util.ServiceConfigurationError: org.testng.ITestNGListener: Provider mockit.integration.testng.internal.TestNGRunnerDecorator not found
at java.util.ServiceLoader.fail(ServiceLoader.java:231)…
-
```
What steps will reproduce the problem?
1. Maven2 project with Hibernate
2. Open in Eclipse (maybe other IDE's too)
What is the expected output? What do you see instead?
When running TestNG tests…
-
JMockit 1.10, Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
In the class mockit.internal.util.StackTrace, there is a nasty reflection-based hack to call `Throwable.getStackTraceElement(int)`, …
-
```
The annotation @Mock doesn't allow me to define the mock answers, like
RETURNS_MOCKS, RETURNS_SMART_NULLS, RETURNS_DEEP_STUBS, etc.
So i need to call Mockit.mock(anyInterface.class, RETURNS_MOCK…
-
```
What steps will reproduce the problem?
1. Maven2 project with Hibernate
2. Open in Eclipse (maybe other IDE's too)
What is the expected output? What do you see instead?
When running TestNG tests…
-
Hi all,
I'm trying to create a stream that parallellizes two steps of my stream pipeline and then continues the process in single threaded mode.
However, on my machine, the test case below only works…
-
```
I try to verify a method with 3 parameters. Mockit just says "Argument(s)
are different!".
Now it is very hard to find out which argument is different since I have
three of them and the "toString…
-
```
The annotation @Mock doesn't allow me to define the mock answers, like
RETURNS_MOCKS, RETURNS_SMART_NULLS, RETURNS_DEEP_STUBS, etc.
So i need to call Mockit.mock(anyInterface.class, RETURNS_MOCK…
-
Hi,
I've come across this issue which seem naive and simple to solve, but has become a pain for my tests.
When I try to partially mock an inline implementation of any form of interface, especially th…