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; }
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" }; }
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" }; }