@Test
public void forbidsNonPublicCloneMethod() throws Exception {

    new PmdAssert(
        "CloneMethodMustBePublic.java",
        Matchers.is(false),
        Matchers.containsString(
            String.format(
                PmdValidatorTest.BRACKETS,
                "CloneMethodMustBePublic"
            )
        )
    ).validate();
}