c# - Moq how to correctly mock set only properties -


What is the correct way to work with the interface, which is the set set with the set only with the Muak? Earlier I have added another accessor but it does make a statement in the new NotImplementedException () to throw too random in my domain.

I just want to make something simple:

mock.VerifySet (see => view.assetoneline value, never. Times);

But this yield does not have any recipients in the property 'setonly value'

Comments