public static HBaseClassTestRule forClass(Class<?> clazz) {
    return new HBaseClassTestRule(clazz, Timeout.builder().withLookingForStuckThread(true)
      .withTimeout(getTimeoutInSeconds(clazz), TimeUnit.SECONDS).build());
  }
Helper method that checks if the input method is a valid JUnit @Parameters method.
@param method Input method.
@return true if the method is a valid JUnit parameters method, false otherwise.
hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseClassTestRule.java