public void TestByCommandParameterTextExtensions() { var buttons = ((AppVar)_ctrl).LogicalTree().ByType<Button>(); AppVar button4 = buttons.ByCommandParameterText("A").Single(); Assert.AreEqual(button4, _ctrl._button4); }