public class ReflectionArgumentMatcher<T>
extends org.easymock.internal.matchers.Equals
ReflectionComparator,
ReflectionComparatorMode,
Serialized Form| Constructor and Description |
|---|
ReflectionArgumentMatcher(T expected,
ReflectionComparatorMode... modes)
Creates a matcher for the expected argument value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Object actual)
Checks whether the given actual value is equal to the expected value.
|
public ReflectionArgumentMatcher(T expected, ReflectionComparatorMode... modes)
expected - the argument value, not nullmodes - the comparator modespublic boolean matches(Object actual)
matches in interface org.easymock.IArgumentMatchermatches in class org.easymock.internal.matchers.Equalsactual - the actual argument valueAssertionError - in case expected and actual did not matchCopyright © 2017. All rights reserved.