public void UITestControlCollection_CanClearCollection() { UITestControlCollection siblings = CheckBox.GetParent().GetChildren(); siblings.Should().NotBeNullOrEmpty("because the CheckBox should have siblings"); siblings.Clear(); siblings.Should().BeEmpty("because we cleared the collection"); }