@Test
public void allowsAssertFail()
    throws Exception {

    final String file = "AllowAssertFail.java";
    new PmdAssert(
        file, Matchers.is(true),
        Matchers.not(
            Matchers.containsString(
                PmdValidatorTest.PLAIN_ASSERTIONS
            )
        )
    ).validate();
}