public void testAuthorRegularExError()
throws Exception
{
final DefaultConfiguration checkConfig =
createCheckConfig(JavadocTypeCheck.class);
checkConfig.addAttribute("authorFormat", "ABC");
final String[] expected = {
"13: Type Javadoc tag @author must match pattern 'ABC'.",
"22: Type Javadoc comment is missing an @author tag.",
"31: Type Javadoc tag @author must match pattern 'ABC'.",
"49: Type Javadoc tag @author must match pattern 'ABC'.",