public void CountSubs_ReturnsCountOfAncestorsOrSomething() { const int expectedRootCount = 36; const int expectedAncestorOfThreeCount = 4; const int expectedLeafCount = 1; EnsureTestDocumentTypes(); Assert.AreEqual(expectedRootCount, CMSNode.CountSubs(-1)); Assert.AreEqual(expectedAncestorOfThreeCount, CMSNode.CountSubs(testContentType1.Id)); Assert.AreEqual(expectedLeafCount, CMSNode.CountSubs(testContentType2.Id)); }