Merge "CodeOwnerHasOperandsIT: Remove unused method"
diff --git a/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerHasOperandsIT.java b/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerHasOperandsIT.java
index 722eafa..f8b21aa 100644
--- a/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerHasOperandsIT.java
+++ b/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerHasOperandsIT.java
@@ -241,15 +241,6 @@
                 .collect(toImmutableList())));
   }
 
-  private void assertNonExistentSubmitRequirement(
-      Collection<SubmitRequirementResultInfo> requirements, String name) {
-    for (SubmitRequirementResultInfo requirement : requirements) {
-      if (requirement.name.equals(name)) {
-        throw new AssertionError("Found a submit requirement with name " + name);
-      }
-    }
-  }
-
   private String format(String query, Iterable<Change.Id> actualIds, Change.Id... expectedChanges)
       throws RestApiException {
     return "query '"