-
There is IllegalAccessError while calling method with switch(enumValue) block on spy-object.
But if we replace switch block with if clause, it'll work.
```java
package com.example;
import a…
-
```
There seems to be an incompatibility issue between powermock and JaCoCo,
possibly related to JDK 7.
Attached is a small maven project which can be executed using "mvn clean
verify" to showcase …
-
```
There seems to be an incompatibility issue between powermock and JaCoCo,
possibly related to JDK 7.
Attached is a small maven project which can be executed using "mvn clean
verify" to showcase …
-
```
There seems to be an incompatibility issue between powermock and JaCoCo,
possibly related to JDK 7.
Attached is a small maven project which can be executed using "mvn clean
verify" to showcase …
-
```
How about mocking (doReturn-when) with reflection? i.e. method name and
arguments are provided at the run-time. One use that I can find is when
using dynamically generated classes.
class A {
p…
-
The "mock-maker-inline" is not available on Android, the error message can be optimized so the message "This mock maker is not supported on Android" stands on the first line of the exception.
Curre…
-
```
User report:
StaticClass.java:
package com.anoop.test;
public class StaticClass {
public static String getName(){
return "Anoop";
}
public static void setN…
-
Since trying out a relatively recent checkout of opentsdb master (post 2.4.0), the following error sometimes occurs, depending on the timestamp of the last value for the given series:
```
http://tsd…
-
```
How about mocking (doReturn-when) with reflection? i.e. method name and
arguments are provided at the run-time. One use that I can find is when
using dynamically generated classes.
class A {
p…
-
If you write your tests in Groovy (no matter whether it is a Spock or plain JUnit test), and try to mock a system class call, it does not work, but you get the error:
```
org.mockito.exceptions.mi…