@Test public void test_provide_dependencies_never_null() { List<Plugin> dependencies = underTest.getRequiredPluginsOf(NoDepsPlugin.class); Assertions.assertThat(dependencies).isNotNull(); }
public List<Plugin> getRequiredPluginsOf(Class<? extends Plugin> pluginClass) { return getDependenciesOf(pluginClass, DependencyType.REQUIRED); }
DependencyProvider { public List<Plugin> getRequiredPluginsOf(Class<? extends Plugin> pluginClass) { return getDependenciesOf(pluginClass, DependencyType.REQUIRED); } }
DependencyProvider { public List<Plugin> getRequiredPluginsOf(Class<? extends Plugin> pluginClass) { return getDependenciesOf(pluginClass, DependencyType.REQUIRED); } DependencyProvider(PluginRegistry pluginRegistry, FacetRegistry facetRegistry); }
DependencyProvider { public List<Plugin> getRequiredPluginsOf(Class<? extends Plugin> pluginClass) { return getDependenciesOf(pluginClass, DependencyType.REQUIRED); } DependencyProvider(PluginRegistry pluginRegistry, FacetRegistry facetRegistry); List<Plugin> getDependenciesOf(Class<? extends Plugin> pluginClass); List<Plugin> getRequiredPluginsOf(Class<? extends Plugin> pluginClass); List<Plugin> getDependentPluginsOf(Class<? extends Plugin> pluginClass); List<T> getFacets(Class<? extends Plugin> pluginClass, Class<T> facet); T getFacet(Class<? extends Plugin> pluginClass, Class<T> facet); }
DependencyProvider { public List<Plugin> getRequiredPluginsOf(Class<? extends Plugin> pluginClass) { return getDependenciesOf(pluginClass, DependencyType.REQUIRED); } DependencyProvider(PluginRegistry pluginRegistry, FacetRegistry facetRegistry); List<Plugin> getDependenciesOf(Class<? extends Plugin> pluginClass); List<Plugin> getRequiredPluginsOf(Class<? extends Plugin> pluginClass); List<Plugin> getDependentPluginsOf(Class<? extends Plugin> pluginClass); List<T> getFacets(Class<? extends Plugin> pluginClass, Class<T> facet); T getFacet(Class<? extends Plugin> pluginClass, Class<T> facet);  }