public static Builder builder(Type type) {
    return new Builder(type);
  }
@Test
  public void builder_throws_NPE_if_status_is_Null() {
    assertThatThrownBy(() -> {
      builder(Component.Type.DIRECTORY)
        .setName("DIR")
        .setKey(KEY)
        .setUuid(UUID)
        .setReportAttributes(ReportAttributes.newBuilder(1).build())
        .build();
    })
      .isInstanceOf(NullPointerException.class);
  }