public void AllChildControlsLoopThroughEachChildControlsInPageControlsTree() { var page = new Page(); var control = new Control(); var childControl = new Control(); control.Controls.Add(childControl); page.Controls.Add(control); Assert.That(page.AllChildControls().Count(), Is.EqualTo(2)); }