diff options
Diffstat (limited to 'src/org/mockito')
-rw-r--r-- | src/org/mockito/internal/matchers/LocalizedMatcher.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/org/mockito/internal/matchers/LocalizedMatcher.java b/src/org/mockito/internal/matchers/LocalizedMatcher.java index b19cdf5..7ba456b 100644 --- a/src/org/mockito/internal/matchers/LocalizedMatcher.java +++ b/src/org/mockito/internal/matchers/LocalizedMatcher.java @@ -4,6 +4,7 @@ */
package org.mockito.internal.matchers;
+import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.SelfDescribing;
@@ -13,7 +14,8 @@ import org.mockito.invocation.Location; import java.io.Serializable;
@SuppressWarnings("unchecked")
-public class LocalizedMatcher implements Matcher, ContainsExtraTypeInformation, CapturesArguments, MatcherDecorator, Serializable {
+public class LocalizedMatcher extends BaseMatcher
+ implements Matcher, ContainsExtraTypeInformation, CapturesArguments, MatcherDecorator, Serializable {
private static final long serialVersionUID = 6748641229659825725L;
private final Matcher actualMatcher;
@@ -24,10 +26,6 @@ public class LocalizedMatcher implements Matcher, ContainsExtraTypeInformation, this.location = new LocationImpl();
}
- public void _dont_implement_Matcher___instead_extend_BaseMatcher_() {
- // yeah right
- }
-
public boolean matches(Object item) {
return actualMatcher.matches(item);
}
|