public void UITestControlCollection_CanCopyToArray() { UITestControlCollection siblings = CheckBox.GetParent().GetChildren(); siblings.Should().NotBeNullOrEmpty("because the CheckBox should have siblings"); UITestControl[] copyTo = new UITestControl[siblings.Count]; siblings.CopyTo(copyTo, 0); copyTo .ShouldAllBeEquivalentTo(siblings, "because we copied the collection"); }