shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java
public void setTraversalBefore(AccessibilityNodeInfo info) {
    if (this.traversalBefore != null) {
      this.traversalBefore.recycle();
    }
    
    this.traversalBefore = obtain(info);
  }
public void setTraversalBefore(AccessibilityNodeInfo info) {
    if (this.traversalBefore != null) {
      this.traversalBefore.recycle();
    }
    
    this.traversalBefore = obtain(info);
  }
Sets the view before whose node this one should be visited during traversal.

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

@param info The view providing the preceding node.
@see #getTraversalBefore()