@Test
public void testGetPluginArchives() {

    PluginRepository repository = new DefaultPluginRepository(pluginsPath);
    List<Path> pluginPaths = repository.getPluginPaths();
    assertEquals(3, pluginPaths.size());
    assertPathExists(pluginPaths, pluginsPath.resolve("plugin-1"));
    assertPathExists(pluginPaths, pluginsPath.resolve("plugin-2"));
    assertPathExists(pluginPaths, pluginsPath.resolve("plugin-3"));
}