public MemberListItemViewModelInstancesTest() { for (int i = 0; i < 2; i++) { IPerson modelField = new Mock<IPerson>().Object; MemberListItemViewModel instance = new MemberListItemViewModel(modelField); instance.SetBackingField(MemberListItemViewModelMember.Model, modelField); ModelFields.Add(modelField); Instances.Add(instance); } }
public MemberListItemViewModelInstanceTest() { ModelField = new Mock<IPerson>().Object; Instance = new MemberListItemViewModel(ModelField); Instance.SetBackingField(MemberListItemViewModelMember.Model, ModelField); }