-
```
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…
-
Test 1 prints the following in 1.12
```
A A true
B B true
C C true
D D true
```
but prints this in 1.13 - 1.18
```
A A true
A B false
B B true
A C false
B C false
C C true
A D false
B D false
C D f…
-
```
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…
-
```
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…
-
I am trying to use @Tested
If i try to use the object reference which is marked as @Tested in method annotated with @Before that throws null pointer exception. but if i use that object reference dir…
-
In order to end-to-end test some things I have a simple class I want to mock:
```
public final class ClassToMock {
private enum Enum {
HIGH, MEDIUM, LOW
}
public static String to…
-
After upgrade to latest Eclipse testng plugin (version 6.9.0.201505070412) I'm not able to run tests directly on test methods/class. It fails with error mockit.initegration.testng.initializer not foun…
-
```
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…
-
```
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…
-
I've tried to reproduce this issue in an isolated test but wasn't unable to. Either way, this is the stacktrace (or what I could get), it might be useful:
```
Caused by: java.lang.NullPointerExceptio…