### Question:
WebHookPluginDataResolverImpl implements WebHookPluginDataResolver { @Override public boolean isWebHooksRestApiInstalled() { if (isRestApiInstalled != null) { return isRestApiInstalled; } findAndPopulateVersions(); return Boolean.TRUE.equals(isRestApiInstalled); } WebHookPluginDataResolverImpl(PluginManager pluginManager); @Override boolean isWebHooksRestApiInstalled(); @Override @Nullable String getWebHooksRestApiVersion(); @Override boolean isWebHooksCoreAndApiVersionTheSame(); @Override String getWebHooksCoreVersion();  }### Answer:
@Test public void testIsWebHooksRestApiInstalled() { initMockData(); WebHookPluginDataResolver resolver = new WebHookPluginDataResolverImpl(pluginManager); assertTrue(resolver.isWebHooksRestApiInstalled()); }