public class IsEqualTo<T> extends Object implements PropertyExpectation<T>
PropertyExpectation to check if a property is equal to an expected value| Modifier and Type | Method and Description |
|---|---|
String |
describe()
Return a description of expectation
|
boolean |
matches(T actual)
Check if this expectation is met
|
public IsEqualTo(T expected)
public boolean matches(T actual)
PropertyExpectationmatches in interface PropertyExpectation<T>public String describe()
PropertyExpectationdescribe in interface PropertyExpectation<T>Copyright © 2014. All rights reserved.