main/src/main/java/org/hobsoft/hamcrest/compose/ComposeMatchers.java
/**
	 * Returns a matcher that matches the specified feature value of an object.
	 * <p>
	 * For example:
	 * <pre>
	 * assertThat("ham", hasFeatureValue("a string with length", "string length", String::length, 3));
	 * </pre>
	 * <p>
	 * This is equivalent to {@code hasFeature(featureDescription, featureName, featureFunction,
	 * equalTo(featureValue))}.
	 * 
	 * @param featureDescription
	 *            a description of this feature used by {@code describeTo}
	 * @param featureName
	 *            the name of this feature used by {@code describeMismatch}
	 * @param featureFunction
	 *            a function to extract the feature from the object
	 * @param featureValue
	 *            the feature value to match
	 * @param <T>
	 *            the type of the object to be matched
	 * @param <U>
	 *            the type of the feature to be matched
	 * @return the feature matcher
	 */
Returns a matcher that matches the specified feature value of an object.


Returns a matcher that matches the specified feature value of an object .
public static <T, U> Matcher<T> hasFeatureValue(String featureDescription, String featureName,
		Function<T, U> featureFunction, U featureValue)
	{
		return hasFeature(featureDescription, featureName, featureFunction, equalTo(featureValue));
	}
public static < T , U > Matcher < T > hasFeatureValue ( String featureDescription , String featureName , Function < T , U > featureFunction , U featureValue ) { return hasFeature ( featureDescription , featureName , featureFunction , equalTo ( featureValue ) ) ; }
Returns a matcher that matches the specified feature value of an object.
Returns a matcher that matches the specified feature value of an object .