Blame SOURCES/mockito-matcher.patch

868010
diff --git a/src/org/mockito/internal/matchers/LocalizedMatcher.java b/src/org/mockito/internal/matchers/LocalizedMatcher.java
868010
index 01e83b3..7d249f5 100644
868010
--- a/src/org/mockito/internal/matchers/LocalizedMatcher.java
868010
+++ b/src/org/mockito/internal/matchers/LocalizedMatcher.java
868010
@@ -16,6 +16,12 @@ public class LocalizedMatcher implements Matcher, ContainsExtraTypeInformation,
868010
     private final Matcher actualMatcher;
868010
     private Location location;
868010
 
868010
+    /* This is a hack for Fedora. Bug has been filed here:
868010
+     * https://code.google.com/p/mockito/issues/detail?id=428 */
868010
+    public void describeMismatch(Object item, Description mismatchDescription) {
868010
+        mismatchDescription.appendText("was ").appendValue(item);
868010
+    }
868010
+
868010
     public LocalizedMatcher(Matcher actualMatcher) {
868010
         this.actualMatcher = actualMatcher;
868010
         this.location = new Location();
868010
@@ -65,4 +71,4 @@ public class LocalizedMatcher implements Matcher, ContainsExtraTypeInformation,
868010
     public Matcher getActualMatcher() {
868010
         return actualMatcher;
868010
     }
868010
-}
868010
\ No newline at end of file
868010
+}