Skip to content

Instantly share code, notes, and snippets.

@erichexter
Created March 15, 2015 00:29
Show Gist options
  • Save erichexter/a96c01bf6c843400b667 to your computer and use it in GitHub Desktop.
Save erichexter/a96c01bf6c843400b667 to your computer and use it in GitHub Desktop.
[Test]
[TestCaseSource("DocumentContent")]
public void Every_Content_type_Should_have_A_categorizer(string documentContentType)
{
allTypes.Any(s => s.Name.Contains(documentContentType + "DocumentContentCategorizer")).ShouldBeTrue(String.Format("{0} does not have a DocumentContentCategorizer.", documentContentType));
}
DocumentContent = Enum.GetNames(typeof(DocumentContent));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment