GRPCExporter extends MetricFormatter implements MetricValuesExportService, IConsumer<ExportData> { @Override public void onExit() { } GRPCExporter(GRPCExporterSetting setting); @Override void export(ExportEvent event); void initSubscriptionList(); @Override void init(); @Override void consume(List<ExportData> data); @Override void onError(List<ExportData> data, Throwable t); @Override void onExit();  }
@Test public void onExit() { exporter.onExit(); }