Adapt to changes in gerrit core

Change I314ae829f made it so that we evaluate change submittability
based on submit requirements instead of submit rules. Submit rules are
still evaluated transitively through submit requirements.

Adapting assert statements in code owners tests according to this
change.

Change-Id: I1b489614832353f3895d90766a5225f4e7e675ba
diff --git a/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerSubmitRuleIT.java b/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerSubmitRuleIT.java
index fef1205..2c2f7c7 100644
--- a/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerSubmitRuleIT.java
+++ b/javatests/com/google/gerrit/plugins/codeowners/acceptance/api/CodeOwnerSubmitRuleIT.java
@@ -137,7 +137,7 @@
         .isEqualTo(
             String.format(
                 "Failed to submit 1 change due to the following problems:\n"
-                    + "Change %d: Submit requirement not fulfilled: Code Owners",
+                    + "Change %d: submit requirement 'code-owners~CodeOwnerSubmitRule' is unsatisfied.",
                 changeInfo._number));
   }
 
@@ -190,7 +190,7 @@
         .isEqualTo(
             String.format(
                 "Failed to submit 1 change due to the following problems:\n"
-                    + "Change %d: Submit requirement not fulfilled: Code Owners",
+                    + "Change %d: submit requirement 'code-owners~CodeOwnerSubmitRule' is unsatisfied.",
                 changeInfo._number));
   }
 
@@ -404,7 +404,9 @@
         .isEqualTo(
             String.format(
                 "Failed to submit 1 change due to the following problems:\n"
-                    + "Change %s: submit rule error: Failed to evaluate code owner statuses for"
+                    + "Change %s: submit requirement 'code-owners~CodeOwnerSubmitRule' has an"
+                    + " error: Submittability expression result has an error:"
+                    + " Failed to evaluate code owner statuses for"
                     + " patch set 1 of change %s (cause: invalid code owner config file '%s'"
                     + " (project = %s, branch = master):\n  %s).%s",
                 changeInfo._number,
@@ -456,7 +458,9 @@
         .isEqualTo(
             String.format(
                 "Failed to submit 1 change due to the following problems:\n"
-                    + "Change %s: submit rule error: Failed to evaluate code owner statuses for"
+                    + "Change %s: submit requirement 'code-owners~CodeOwnerSubmitRule' has an"
+                    + " error: Submittability expression result has an error:"
+                    + " Failed to evaluate code owner statuses for"
                     + " patch set 1 of change %s (cause: invalid code owner config file '%s'"
                     + " (project = %s, branch = master):\n  %s).",
                 changeInfo._number,