public static boolean isConfluentCustomer(final String customerId) {
    return customerId != null
        && (CUSTOMER_PATTERN.matcher(customerId.toLowerCase(Locale.ROOT)).matches()
        || NEW_CUSTOMER_CASE_INSENSISTIVE_PATTERN.matcher(customerId).matches()
        || NEW_CUSTOMER_CASE_SENSISTIVE_PATTERN.matcher(customerId).matches());
  }
@Test
  public void testValidCustomer() {
    for (String validId : CustomerIdExamples.VALID_CUSTOMER_IDS) {
      assertTrue(validId + " is an invalid customer identifier",
          BaseSupportConfig.isConfluentCustomer(validId));
    }
  }