@Test public void testGetWebHooksRestApiVersion() { initMockData(); WebHookPluginDataResolver resolver = new WebHookPluginDataResolverImpl(pluginManager); assertEquals("1.2.3.4", resolver.getWebHooksRestApiVersion()); }
@Override @Nullable public String getWebHooksRestApiVersion() { if (restApiVersion != null) { return restApiVersion; } findAndPopulateVersions(); return restApiVersion; }
WebHookPluginDataResolverImpl implements WebHookPluginDataResolver { @Override @Nullable public String getWebHooksRestApiVersion() { if (restApiVersion != null) { return restApiVersion; } findAndPopulateVersions(); return restApiVersion; } }
WebHookPluginDataResolverImpl implements WebHookPluginDataResolver { @Override @Nullable public String getWebHooksRestApiVersion() { if (restApiVersion != null) { return restApiVersion; } findAndPopulateVersions(); return restApiVersion; } WebHookPluginDataResolverImpl(PluginManager pluginManager); }
WebHookPluginDataResolverImpl implements WebHookPluginDataResolver { @Override @Nullable public String getWebHooksRestApiVersion() { if (restApiVersion != null) { return restApiVersion; } findAndPopulateVersions(); return restApiVersion; } WebHookPluginDataResolverImpl(PluginManager pluginManager); @Override boolean isWebHooksRestApiInstalled(); @Override @Nullable String getWebHooksRestApiVersion(); @Override boolean isWebHooksCoreAndApiVersionTheSame(); @Override String getWebHooksCoreVersion(); }
WebHookPluginDataResolverImpl implements WebHookPluginDataResolver { @Override @Nullable public String getWebHooksRestApiVersion() { if (restApiVersion != null) { return restApiVersion; } findAndPopulateVersions(); return restApiVersion; } WebHookPluginDataResolverImpl(PluginManager pluginManager); @Override boolean isWebHooksRestApiInstalled(); @Override @Nullable String getWebHooksRestApiVersion(); @Override boolean isWebHooksCoreAndApiVersionTheSame(); @Override String getWebHooksCoreVersion();  }