public void Wpf_GetElementThroughMethodOutParam_Works()
{
AutomationElementRetievingPattern.Initialize();
var p = (IAutomationElementRetievingPattern)_wTestControlElement.GetCurrentPattern(AutomationElementRetievingPattern.Pattern);
AutomationElement wElementFromProperty;
p.WrappedGetCurrentElementWithOutParam(out wElementFromProperty);
Assert.IsTrue(_wTestControlElement.Equals(wElementFromProperty));
}