mockito How to mock final classes in Kotlin with Mockito? Mockito cannot mock/spy because your class is final class? We can fix that.