private static void AssertErrors(GroupBox groupBox, string hasError, IEnumerable<string> errors)
 {
     Assert.AreEqual(hasError, groupBox.GetByIndex<Label>(1).Text);
     CollectionAssert.AreEqual(errors, groupBox.GetByText<GroupBox>("Errors").GetErrors());
     CollectionAssert.AreEqual(errors, groupBox.GetByText<GroupBox>("Node").GetErrors());
 }
 public LayoutManager(Window mainWindow)
     : base(mainWindow)
 {
     _barManager = mainWindow.Get<GroupBox>("BarManager");
     _autoHideGroups = _barManager.GetMultiple(SearchCriteria.ByClassName("AutoHideGroup"));
 }