public void LazyBoxExpanded() { var root = new RootBox(new AssembledStyles()); root.RaiseLazyExpanded(new RootBox.LazyExpandedEventArgs()); // make sure harmless with no subscribers root.LazyExpanded += root_LazyExpanded; using (var lc = new LayoutCallbacks(root)) { lc.RaiseLazyExpanded(10, 17, 5); lc.RaiseLazyExpanded(5, 6, -2); Assert.That(m_expandArgs, Is.Empty); } VerifyExpandArgs(0, 10, 17, 5); VerifyExpandArgs(1, 5, 6, -2); }