So when you said "tried that and `foo.getBar()` is...
# mockk
d
So when you said "tried that and
foo.getBar()
is getting mocked, but not the
foo.bar
)" you weren't trying to mock the private bar? Oh you mean when yoou use bar as getBar() in you kotlin test code... I seem to remember that when referring to a java property, the getXXX version is also there just the property version is suggested did you try using that one?