shadows/framework/src/main/java/org/robolectric/shadows/ShadowTextView.java
@Override
  public String innerText() {
    CharSequence text = realTextView.getText();
    return (text == null || realTextView.getVisibility() != View.VISIBLE) ? "" : text.toString();
  }
@Override
  public String innerText() {
    CharSequence text = realTextView.getText();
    return (text == null || realTextView.getVisibility() != View.VISIBLE) ? "" : text.toString();
  }
Returns the text string of this {@code TextView}.

Robolectric extension.