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 TypeMethodDescriptionvoidvoidcaptureFrom(Object argument) voiddescribeMismatch(Object item, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) org.hamcrest.MatcherbooleantoString()booleantypeMatches(Object object) org.hamcrest.SelfDescribing
-
Constructor Details
-
LocalizedMatcher
public LocalizedMatcher(org.hamcrest.Matcher actualMatcher)
-
-
Method Details
-
describeMismatch
- Specified by:
describeMismatchin 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:
matchesin interfaceorg.hamcrest.Matcher
-
describeTo
public void describeTo(org.hamcrest.Description description) - Specified by:
describeToin interfaceorg.hamcrest.SelfDescribing
-
getLocation
-
toString
-
withExtraTypeInfo
public org.hamcrest.SelfDescribing withExtraTypeInfo()- Specified by:
withExtraTypeInfoin interfaceContainsExtraTypeInformation
-
typeMatches
- Specified by:
typeMatchesin interfaceContainsExtraTypeInformation
-
captureFrom
- Specified by:
captureFromin interfaceCapturesArguments
-
getActualMatcher
public org.hamcrest.Matcher getActualMatcher()- Specified by:
getActualMatcherin interfaceMatcherDecorator
-