Path getTruststorePath() {
    if (truststoreFile == null) {
      throw new IllegalStateException("Truststore is available only when SASL is in use");
    }
    return truststoreFile.toPath();
  }
Override to tear down your specific external resource.
kafka-handler/src/test/org/apache/hadoop/hive/kafka/KafkaBrokerResource.java