exactly

public static TypeMatcher exactly(Class<? extends Object> type)

Creates a type matcher which matches the type is equal to the passed type.