Package org.mockito.internal.matchers
Class LocalizedMatcher
java.lang.Object
org.mockito.internal.matchers.LocalizedMatcher
- All Implemented Interfaces:
Serializable
,org.hamcrest.Matcher
,org.hamcrest.SelfDescribing
,CapturesArguments
,ContainsExtraTypeInformation
,MatcherDecorator
public class LocalizedMatcher
extends Object
implements org.hamcrest.Matcher, ContainsExtraTypeInformation, CapturesArguments, MatcherDecorator, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
captureFrom
(Object argument) void
describeMismatch
(Object item, org.hamcrest.Description mismatchDescription) void
describeTo
(org.hamcrest.Description description) org.hamcrest.Matcher
boolean
toString()
boolean
typeMatches
(Object object) org.hamcrest.SelfDescribing
-
Constructor Details
-
LocalizedMatcher
public LocalizedMatcher(org.hamcrest.Matcher actualMatcher)
-
-
Method Details
-
describeMismatch
- Specified by:
describeMismatch
in interfaceorg.hamcrest.Matcher
-
_dont_implement_Matcher___instead_extend_BaseMatcher_
public void _dont_implement_Matcher___instead_extend_BaseMatcher_()- Specified by:
_dont_implement_Matcher___instead_extend_BaseMatcher_
in interfaceorg.hamcrest.Matcher
-
matches
- Specified by:
matches
in interfaceorg.hamcrest.Matcher
-
describeTo
public void describeTo(org.hamcrest.Description description) - Specified by:
describeTo
in interfaceorg.hamcrest.SelfDescribing
-
getLocation
-
toString
-
withExtraTypeInfo
public org.hamcrest.SelfDescribing withExtraTypeInfo()- Specified by:
withExtraTypeInfo
in interfaceContainsExtraTypeInformation
-
typeMatches
- Specified by:
typeMatches
in interfaceContainsExtraTypeInformation
-
captureFrom
- Specified by:
captureFrom
in interfaceCapturesArguments
-
getActualMatcher
public org.hamcrest.Matcher getActualMatcher()- Specified by:
getActualMatcher
in interfaceMatcherDecorator
-