sameTypeVariable

public static Matcher<TypeVariable<? extends Object>> sameTypeVariable(TypeVariable<? extends Object> typeVariable)(source)

A matcher matching a TypeVariable if the TypeVariable is equal to the given one.

Return

the matcher matching the TypeVariable

Parameters

typeVariable

the TypeVariable to match against