public class EqualsValueMatcher extends java.lang.Object implements ValueMatcher
ValueMatcher
which uses the Object.equals(Object)
method to
determine a match.Constructor and Description |
---|
EqualsValueMatcher(java.lang.Object expected) |
public boolean matches(java.lang.Object actual)
ValueMatcher
matches
in interface ValueMatcher
public com.google.gson.JsonElement describe(com.google.gson.Gson gson)
ValueMatcher
describe
in interface ValueMatcher