@Test
  public void testBasicCoordinateCheck() throws Throwable {
    ViewHelpers.setupView(mView).setExactHeightPx(1000).setExactWidthPx(20000).layout();
    ParsedViewDetail node = ParsedViewDetail.convert(mView);
    assertEquals(0, node.absoluteRect.top);
    assertEquals(0, node.absoluteRect.left);
    assertEquals(node.childAt(0).absoluteRect.bottom, node.childAt(1).absoluteRect.top);
    assertTrue(node.childAt(0).absoluteRect.bottom != 0);
  }
Utility class to make inspecting a serialized hierarchy easier
core/src/androidTest/java/com/facebook/testing/screenshot/layouthierarchy/LayoutHierarchyDumperTest.java