-
-
Save anonymous/b680d3ad112a00b99275 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Shorthands { | |
/** | |
* | |
* @param <C> | |
* @param <P> | |
* @param propName | |
* @param propertyValue | |
* @param pClass the class of the object we want to check | |
* @return | |
*/ | |
public static <C, P> C hasPropertyOfCertainValue(String propName, P propertyValue, Class<C> pClass ){ | |
return argThat(new HasPropertyOfCertainValueMatcher<C, P>(propName, propertyValue, pClass)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment