All Questions

Tagged with
Filter by
Sorted by
Tagged with
10
votes
3answers
8k views

Stubbing Properties with private setters for tests

We have the object public class MyObject{ protected MyObject(){} public string Property1 {get;private set;} public string Property2 {get;private set;} public string Property3 {get;...