@Test
public void testInvalidClassDefWithChecker()
throws Exception
{
final DefaultConfiguration checkConfig = createCheckConfig(IndentationCheck.class);
final Checker c = createChecker(checkConfig);
final String fname = getPath("indentation/InputInvalidClassDefIndent.java");
final String[] expected = {
"19: 'class def modifier' have incorrect indentation level 2, expected level should be 0.",
"25: 'class def lcurly' have incorrect indentation level 2, expected level should be 0.",
"28: 'class def rcurly' have incorrect indentation level 2, expected level should be 0.",