protected override void Arrange() { base.Arrange(); var section = new MockSectionWithMultipleChildCollections(); BuildSection(section); ViewModel = SectionViewModel.CreateSection(Container, "name", section); }
protected virtual void BuildSection(MockSectionWithMultipleChildCollections section) { section.Children.Add(new TestHandlerData() { Name = "One" }); section.Children.Add(new TestHandlerData() { Name = "Two" }); section.Children.Add(new TestHandlerData() { Name = "Three" }); }