public class CompareEqualsToExpectaion<T extends Comparable<T>> extends Object implements PropertyExpectation<T>
PropertyExpectation to check if a property is comparable to anotherpublic CompareEqualsToExpectaion(T expected)
public boolean matches(T actual)
PropertyExpectationmatches in interface PropertyExpectation<T extends Comparable<T>>public String describe()
PropertyExpectationdescribe in interface PropertyExpectation<T extends Comparable<T>>Copyright © 2014. All Rights Reserved.