@Test
public void acceptsCallToConstructorInConstructor()
    throws Exception {

    final String file = "CallToConstructorInConstructor.java";
    new PmdAssert(
        file, Matchers.is(true),
        Matchers.not(
            RegexMatchers.containsPattern(
                String.format(PmdValidatorTest.CODE_IN_CON, file)
            )
        )
    ).validate();
}