shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java
public void setTraversalAfter(AccessibilityNodeInfo info) {
    if (this.traversalAfter != null) {
      this.traversalAfter.recycle();
    }

    this.traversalAfter = obtain(info);
  }
public void setTraversalAfter(AccessibilityNodeInfo info) {
    if (this.traversalAfter != null) {
      this.traversalAfter.recycle();
    }

    this.traversalAfter = obtain(info);
  }
Sets the view whose node is visited after this one in accessibility traversal.

This may be useful for configuring traversal order in tests before the corresponding
views have been inflated.

@param info The previous node.
@see #getTraversalAfter()