### Question:
PortNetServiceDiscoveryComponent implements ResourceDiscoveryComponent, ManualAddFacet { @Override public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext context) throws InvalidPluginConfigurationException, Exception { return Collections.EMPTY_SET; }  @Override Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext context); @Override DiscoveredResourceDetails discoverResource(Configuration pluginConfiguration,
        ResourceDiscoveryContext context);  }### Answer:
@Test public void testDiscoverResources() throws Exception { assertEquals(0, portNetServiceDiscoveryComponent.discoverResources(null).size()); }