@Test
public void prohibitsPublicStaticMethods() throws Exception {

    new PmdAssert(
        "StaticPublicMethod.java",
        Matchers.is(false),
        Matchers.containsString(PmdValidatorTest.STATIC_METHODS)
    ).validate();
}