@Before
  public void setUp() throws Exception {
    mTextView = new TextView(InstrumentationRegistry.getInstrumentation().getTargetContext());
    mTextView.setText("foobar");

    // Unfortunately TextView needs a LayoutParams for onDraw
    mTextView.setLayoutParams(
        new FrameLayout.LayoutParams(
            ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));

    measureAndLayout();
  }
This is not really a test, this test is just a "fixture" for all the tests for the scripts
related to running tests and getting screenshots.
core/src/androidTest/java/com/facebook/testing/screenshot/ScriptsFixtureTest.java