[bisq-network/bisq] Test suite does not work on jdk13 (#3288)

Christoph Sturm notifications at github.com
Wed Sep 18 10:14:43 UTC 2019


```
org.mockito.exceptions.base.MockitoException: 
Mockito cannot mock this class: class bisq.core.payment.CountryBasedPaymentAccount.

If you're not sure why you're getting this error, please report to the mailing list.


Java               : 13
JVM vendor name    : Oracle Corporation
JVM vendor version : 13-ea+33
JVM name           : Java HotSpot(TM) 64-Bit Server VM
JVM version        : 13-ea+33
JVM info           : mixed mode, sharing
OS name            : Mac OS X
OS version         : 10.15


You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.```

the best fix would be to get rid of inline mocks, but we need them to mock final classes and  manfred thinks that final classes are more secure. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/3288
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190918/20c173f0/attachment-0001.html>


More information about the bisq-github mailing list