-
```
This should work for static & private methods:
InOrder inOrder = inOrder(firstMock, secondMock);
inOrder.verify(firstMock).someMethod("was called first");
inOrder.verify(secondMock).someMethod…
-
```
Add reset support for static methods in Mockito.
Implementation hint:
"I just found out that using mockStatic twice basically resets the
mock. But still I think a reset method would be good becau…
-
_From [johan.ha...@gmail.com](https://code.google.com/u/105676376875942041029/) on September 22, 2010 15:10:25_
Add reset support for static methods in Mockito.
Implementation hint:
"I just found ou…
-
```
should be ported
```
Original issue reported on code.google.com by `johan.ha...@gmail.com` on 9 Sep 2009 at 6:44
-
You'll have to let me know what extra info you want for this, but the problem I'm seeing is it reports some lines as not being hit when it most definitely is being hit. I've attached a screenshot for…
-
Hello everyone,
Currently, we are using Java 8 along with the below versions of PowerMockito, Mockito, and JUnit:
- JUnit: 4.12
- Mockito: 2.8.9
- PowerMockito (JUnit 4 module): 1.7.3
- Power…
-
```
should be ported
```
Original issue reported on code.google.com by `johan.ha...@gmail.com` on 9 Sep 2009 at 6:44
-
```
The attached test will fail with:
java.lang.Exception: Method $spock_feature_0_0 should have no parameters
I would like to be able to do data-driven testing in Spock using PowerMockito.
```
Ori…
-
### Description
Try to make test:
` @RunWith(PowerMockRunner.class)
@PowerMockRunnerDelegate(RobolectricTestRunner.class)
@PowerMockIgnore({
"org.mockito.*",
"org.robolectric.*…
-
```
should be ported
```
Original issue reported on code.google.com by `johan.ha...@gmail.com` on 9 Sep 2009 at 6:44