@Test
public void allowsDuplicateLiteralsInAnnotations() throws Exception {

    new PmdAssert(
        "AllowsDuplicateLiteralsInAnnotations.java",
        Matchers.is(true),
        Matchers.not(
            Matchers.containsString("AvoidDuplicateLiterals")
        )
    ).validate();
}