M
- The matchee type.public class EqualWithMatcherImpl<M> extends Object implements Matcher<M>
Matcher
, comparing its matchee with the matchee
provided to the isMatching(Object)
method for equality.Constructor and Description |
---|
EqualWithMatcherImpl(M aMatchee)
Constructs an EQUAL WITH
Matcher , comparing its matchee with the
matchee provided to the isMatching(Object) method for equality. |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatching(M aMatchee)
Tests whether the given event is matching the mathcer's criteria.
|
public EqualWithMatcherImpl(M aMatchee)
Matcher
, comparing its matchee with the
matchee provided to the isMatching(Object)
method for equality.aMatchee
- The matchee with which to match.public boolean isMatching(M aMatchee)
Matcher
isMatching
in interface Matcher<M>
aMatchee
- The matchee used for testing matchability.Copyright © 2016. All rights reserved.