diff --git a/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueFinalMethodsTest.java b/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueFinalMethodsTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueFinalMethodsTest.java
+++ b/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueFinalMethodsTest.java
@@ -163,4 +163,29 @@ public class AutoValueFinalMethodsTest {
             "}")
         .doTest();
   }
+
+  @Test
+  public void testDiagnosticStringWithMultipleMethodMatches() {
+    compilationHelper
+        .addSourceLines(
+            "out/Test.java",
+            "import com.google.auto.value.AutoValue;",
+            "import com.google.auto.value.extension.memoized.Memoized;",
+            "@AutoValue",
+            "abstract class Test {",
+            "  static Test create() {",
+            "    return null;",
+            "  }",
+            "  @Override",
+            "  // BUG: Diagnostic contains: Make equals, hashCode final in AutoValue classes",
+            "  public boolean equals(Object obj) {",
+            "    return true;",
+            "  }",
+            "  @Override",
+            "  public int hashCode() {",
+            "    return 1;",
+            "  }",
+            "}")
+        .doTest();
+  }
 }
Add test for Diagnostic String with multiple method matches for AutoValueFinalMethods check

RELNOTES: N/A

-------------
Created by MOE: <URL>