@Test
  public void testTestNameIsDetectedOnNonUiThread() throws Throwable {
    assertEquals("testTestNameIsDetectedOnNonUiThread", TestNameDetector.getTestName());
    assertEquals(
        "com.facebook.testing.screenshot.internal.TestNameDetectorForJUnit4Test",
        TestNameDetector.getTestClass());
  }
Tests {@link TestNameDetector} (for JUnit4 style tests)
core/src/androidTest/java/com/facebook/testing/screenshot/internal/TestNameDetectorForJUnit4Test.java