org.mockito.internal.matchers
Class LocalizedMatcher
java.lang.Object
org.mockito.internal.matchers.LocalizedMatcher
- All Implemented Interfaces:
- java.io.Serializable, org.hamcrest.Matcher, org.hamcrest.SelfDescribing, CapturesArguments, ContainsExtraTypeInformation, MatcherDecorator
public class LocalizedMatcher
- extends java.lang.Object
- implements org.hamcrest.Matcher, ContainsExtraTypeInformation, CapturesArguments, MatcherDecorator, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalizedMatcher
public LocalizedMatcher(org.hamcrest.Matcher actualMatcher)
_dont_implement_Matcher___instead_extend_BaseMatcher_
public void _dont_implement_Matcher___instead_extend_BaseMatcher_()
- Specified by:
_dont_implement_Matcher___instead_extend_BaseMatcher_
in interface org.hamcrest.Matcher
matches
public boolean matches(java.lang.Object item)
- Specified by:
matches
in interface org.hamcrest.Matcher
describeTo
public void describeTo(org.hamcrest.Description description)
- Specified by:
describeTo
in interface org.hamcrest.SelfDescribing
getLocation
public Location getLocation()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
withExtraTypeInfo
public org.hamcrest.SelfDescribing withExtraTypeInfo()
- Specified by:
withExtraTypeInfo
in interface ContainsExtraTypeInformation
typeMatches
public boolean typeMatches(java.lang.Object object)
- Specified by:
typeMatches
in interface ContainsExtraTypeInformation
captureFrom
public void captureFrom(java.lang.Object argument)
- Specified by:
captureFrom
in interface CapturesArguments
getActualMatcher
public org.hamcrest.Matcher getActualMatcher()
- Specified by:
getActualMatcher
in interface MatcherDecorator