java.lang.IllegalArgumentException: Class java.time.Duration is not mockable
at com.foo.bar.ConcerningDurationProvider$1.<init>(ConcerningDurationProvider.java:19)
at com.foo.bar.ConcerningDurationProvider.shouldThrowIllegalArgumentException(ConcerningDurationProvider.java:18)
Why? I'm not mocking a Duration
The text was updated successfully, but these errors were encountered:
Please provide the following information:
Version of JMockit that was used:
1.30
Description of the problem or enhancement request:
I'd expect this to pass, but instead I'm getting:
Why? I'm not mocking a Duration
The text was updated successfully, but these errors were encountered: