@Override
    public PluginDescriptor find(Path pluginPath) {
        Plugin plugin = yamlPluginFinder.find(pluginPath);
        return convert(plugin);
    }
@Test
    void find() throws JSONException {
        PluginDescriptor pluginDescriptor = yamlPluginDescriptorFinder.find(testFile.toPath());
        String actual = JsonUtils.objectToJson(pluginDescriptor);
        JSONAssert.assertEquals("""
                {
                     "pluginId": "fake-plugin",
                     "pluginDescription": "Fake description",
                     "pluginClass": "run.halo.app.plugin.BasePlugin",
                     "version": "0.0.2",
                     "requires": ">=2.0.0",
                     "provider": "johnniang",
                     "dependencies": [],
                     "license": "GPLv3"
                 }
                """,
            actual,
            false);
    }