public void CountByObjectType_ReturnsCount(string objectTypeId, int expected, string description) { EnsureTestDocumentTypes(); var actual = CMSNode.CountByObjectType(new Guid(objectTypeId)); Assert.AreEqual(expected, actual, "There should be {0} of nodeObjectType {1}", expected, description); }