public static Builder reportMaxDepth(Component.Type reportMaxDepth) {
    return new Builder(reportMaxDepth);
  }
@Test
  @UseDataProvider("reportTypes")
  public void withViewsMaxDepth_throws_IAE_if_type_is_report(Type reportType) {
    assertThatThrownBy(() -> CrawlerDepthLimit.reportMaxDepth(reportType).withViewsMaxDepth(reportType))
      .isInstanceOf(IllegalArgumentException.class)
      .hasMessage("A Views max depth must be a views type");
  }