public void VisualTree_RenderTransformSet() { var box = new Viewbox(); var child = new LayoutPoker(); box.Child = child; CreateAsyncTest(box, () => { /* Ensure that the box has been measured at least once */ }, () => { var border = box.FindFirstChild <Border>(); Assert.IsNotNull(border, "#1"); Assert.AreNotEqual(DependencyProperty.UnsetValue, border.ReadLocalValue(Border.RenderTransformProperty), "#2"); Assert.IsInstanceOfType <ScaleTransform> (border.RenderTransform, "#3"); } ); }