public static Builder reportMaxDepth(Component.Type reportMaxDepth) {
    return new Builder(reportMaxDepth);
  }
@Test
  @UseDataProvider("viewsTypes")
  public void reportMaxDepth_throws_IAE_if_type_is_views(Type viewsType) {
    assertThatThrownBy(() -> CrawlerDepthLimit.reportMaxDepth(viewsType))
      .isInstanceOf(IllegalArgumentException.class)
      .hasMessage("A Report max depth must be a report type");
  }