@Nullable
    public static KernelPlugin importPluginFromResourcesDirectory(
        String parentDirectory,
        String pluginDirectoryName,
        String functionName,
        @Nullable PromptTemplateFactory promptTemplateFactory) {
        return importPluginFromResourcesDirectory(parentDirectory, pluginDirectoryName,
            functionName,
            promptTemplateFactory, null);
    }
@Test
    public void importPluginFromResourcesDirectoryTest() {
        KernelPlugin plugin = KernelPluginFactory.importPluginFromResourcesDirectory(
            "src/test/resources/Plugins",
            "ExamplePlugins",
            "ExampleFunction",
            null);

        Assertions.assertNotNull(plugin);
        Assertions.assertEquals(plugin.getName(), "ExamplePlugins");
        Assertions.assertEquals(plugin.getFunctions().size(), 1);

        KernelFunction<?> testFunction = plugin.getFunctions()
            .get("examplefunction");

        Assertions.assertNotNull(testFunction);
        Assertions.assertNotNull(testFunction.getMetadata().getOutputVariableType());
        Assertions.assertEquals(testFunction.getMetadata().getOutputVariableType().getType(),
            String.class);
        Assertions.assertEquals(testFunction.getMetadata().getParameters().size(), 1);
        Assertions.assertEquals(testFunction.getMetadata().getParameters().get(0).getTypeClass(),
            String.class);

    }