public void DrilldownTest() { var obj = new CompositeTestObject(); int count = 0; obj.Register("Count", () => count = obj.Items.Count); obj.Items.Add("Item 1"); obj.Items.Add("Item 2"); obj.Items.Add("Item 3"); Assert.AreEqual(3, obj.Items.Count); Assert.AreEqual(3, count); }