Пример #1
0
 public virtual void SetUp()
 {
     Repository = new CellRepository();
     Repository.RemoveAll();
     Model = new HoneycombModel(Repository);
     Sut   = new HoneycombViewModel(Model, null);
     Sut.PropertyChanged += (sender, args) =>
                            ChangedPropertyName = args.PropertyName;
 }
Пример #2
0
 public virtual void SetUp()
 {
     Sut = new CellRepository();
     Sut.RemoveAll();
     CellEntity1 = new CellEntity {
         Title = "test cell 1"
     };
     CellEntity2 = new CellEntity {
         Title = "test cell 2"
     };
     CellEntity3 = new CellEntity {
         Title = "test cell 3"
     };
 }
Пример #3
0
 public virtual void SetUp()
 {
     Repository = new CellRepository();
     Repository.RemoveAll();
     Sut        = new HoneycombModel(Repository);
     CellModel1 = new CellModel {
         Title = "test cell model 1"
     };
     CellModel2 = new CellModel {
         Title = "test cell model 2"
     };
     CellModel3 = new CellModel {
         Title = "test cell model 3"
     };
 }