-
```
The following test case can not pass with PowerMock 1.4.11 + Mockito 1.8.5 or
PowerMock 1.5.4 + Mockito 1.9.5. ClassCastException occurs.
@Test
public void test_mock_object_with_multiple…
-
```
I much prefer the readability of the annotated style of Mockito declarations
like: @Mock Editable editable;
However I have some final classes that seem to require the @PrepareForTest( {
Editabl…
-
```
What steps will reproduce the problem?
When running the provided unit tests in module-test/mockito/junit4 with the IBM
JVM, several tests fail. They work fine with the Oracle JVM.
What is the ex…
-
```
What steps will reproduce the problem?
When running the provided unit tests in module-test/mockito/junit4 with the IBM
JVM, several tests fail. They work fine with the Oracle JVM.
What is the ex…
-
```
What steps will reproduce the problem?
When running the provided unit tests in module-test/mockito/junit4 with the IBM
JVM, several tests fail. They work fine with the Oracle JVM.
What is the ex…
-
```
The following test case can not pass with PowerMock 1.4.11 + Mockito 1.8.5 or
PowerMock 1.5.4 + Mockito 1.9.5. ClassCastException occurs.
@Test
public void test_mock_object_with_multiple…
-
```
The following test case can not pass with PowerMock 1.4.11 + Mockito 1.8.5 or
PowerMock 1.5.4 + Mockito 1.9.5. ClassCastException occurs.
@Test
public void test_mock_object_with_multiple…
-
```
This should work:
public class Test1 {
public void doit() {
new Test2();
}
}
public class Test2 {
}
and a test class :
import org.junit.Test;
import org.junit.runner.RunWith;…
-
```
This should work:
public class Test1 {
public void doit() {
new Test2();
}
}
public class Test2 {
}
and a test class :
import org.junit.Test;
import org.junit.runner.RunWith;…
-
```
This should work:
public class Test1 {
public void doit() {
new Test2();
}
}
public class Test2 {
}
and a test class :
import org.junit.Test;
import org.junit.runner.RunWith;…