New question regarding mocking and kotlin. I have ...
# announcements
s
New question regarding mocking and kotlin. I have kotlin class that holds data (not marked with
@data
on purpose). The getters are more than the standard return. However, I noticed that in order for me to mock the object in Mockito, I had to make the val as an
open val
in order to mock the getter. Is that expected? What is a better way of doing this?