code: public static <T extends View> Matcher<T> hasText(String text) {
          return HasText.<T> hasText(text);
      }
docs: Evaluates to true if the value is a {@link TextView} with a text equal to
  the parameter.