Thanks for asking such question. Here is how to setup property assignment using JustMock:
var monkey = Mock.Create<IMonkey>(Behavior.CallOriginal);
Now , Behavior.CallOriginal works in a way that if you dont setup any expectations using Mock.Arrange , by default it will invoke the original setter or getter .
Let me know if that is helpful.
Additionally, in extreme case if you are calling any data source during property get / set [Extremely bad practice], the above solution will fail. Therefore, I will add an backing mock field for mocked properties so that you can also do the following , when you are not setting any expectation through Mock.Arrange:
var monkey = Mock.Create<IMonkey>();
// has a default backing field
This is a tiny change , i will hopefually patch it today so that it comes with upcoming build.
P.S: While I am editing this ticket, you might have got some extra notifications. Sorry for the inconvenience.
the telerik Team