GRPCExporterProvider extends ModuleProvider { @Override public String[] requiredModules() { return new String[] {CoreModule.NAME}; }  @Override String name(); @Override Class<? extends ModuleDefine> module(); @Override ModuleConfig createConfigBeanIfAbsent(); @Override void prepare(); @Override void start(); @Override void notifyAfterCompleted(); @Override String[] requiredModules();  }
@Test public void requiredModules() { String[] requireModules = grpcExporterProvider.requiredModules(); assertNotNull(requireModules); assertEquals(1, requireModules.length); assertEquals("core", requireModules[0]); }