@Test
public void find() throws Exception {

    Path pluginPath = Files.createDirectories(pluginsPath.resolve("test-plugin-1"));
    storePropertiesToPath(getPlugin1Properties(), pluginPath);
    PluginDescriptorFinder descriptorFinder = new CompoundPluginDescriptorFinder()
        .add(new PropertiesPluginDescriptorFinder());
    PluginDescriptor pluginDescriptor = descriptorFinder.find(pluginPath);
    assertNotNull(pluginDescriptor);
    assertEquals("test-plugin-1", pluginDescriptor.getPluginId());
    assertEquals("0.0.1", pluginDescriptor.getVersion());
}