private static boolean isTestMethod(Method method) {
    return hasAnnotation(method.getAnnotations(), JUNIT_TEST);
  }
Get the current test name in a standard JUnit3 or JUnit4 test, or "unknown" if we couldn't
detect it.
core/src/main/java/com/facebook/testing/screenshot/internal/TestNameDetector.java