public void Wpf_GetElementThroughProperty_Works()
{
AutomationElementRetievingPattern.Initialize();
var p = (IAutomationElementRetievingPattern)_wTestControlElement.GetCurrentPattern(AutomationElementRetievingPattern.Pattern);
var wElementFromProperty = p.CurrentWrappedElement;
Assert.IsTrue(_wTestControlElement.Equals(wElementFromProperty));
}