diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml
index 23909014e3..f2f91314b8 100644
--- a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml
+++ b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml
@@ -619,6 +619,51 @@ public class GuardLogStatementTest {
this
);
}
+}
+ ]]>
+
+
+
+ #5153 array access to constants do not require guards
+ 0
+
+
+
+
+ #5153 array access to method returned values require guards
+ 1
+