T - type of the property valuepublic final class Matchable<T> extends Object
public static <T> Matchable<T> valueOf(String name, T expected, T actual)
name - name of the propertyexpected - expected value (it should override Object.equals(Object) method)actual - actual value (it should override Object.equals(Object) method)public boolean matches()
true if the property's value matches the expected, false otherwiseCopyright © 2016. All rights reserved.