public void ShouldSerializeItems () { ItemsControl c = new ItemsControl (); Assert.IsFalse (c.ShouldSerializeItems (), "1"); c.Items.Add (1); Assert.IsTrue (c.ShouldSerializeItems (), "2"); }