lundi 27 juin 2016

How to mock Kotlin class (final) using PowerMock?

I wish to know how can I mock kotlin final class with PowerMock so I can test it. I followed guide for testing Java final classes but I still got this error

Cannot subclass final class

Is there any way to do that?

Aucun commentaire:

Enregistrer un commentaire