Can somebody helps me with a right way to mock pro...
# announcements
d
Can somebody helps me with a right way to mock property in unit tests? None of
Copy code
`when`(myObject.myProperty).thenReturn(myValue)
`when`(MyClass::myProperty.get(myObject)).thenReturn(myValue)
helps me.