public void ForceUpdateLayoutPasses() { var target = new LayoutClass(); Assert.IsFalse(target.DoChanged); Assert.AreEqual(0, target.CallUpdateLayoutCounter); target.ForceUpdateLayout(); Assert.AreEqual(1, target.CallUpdateLayoutCounter); }