@Test
public void allowsStaticFieldInitializationWhenConstructorExists()
    throws Exception {

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