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