public static boolean validatePlugin(PluginLookup.PluginType type, Class<?> pluginClass) {
        switch (type) {
            case INPUT:
                return containsAllMethods(inputMethods, pluginClass.getMethods());
            case FILTER:
                return containsAllMethods(filterMethods, pluginClass.getMethods());
            case CODEC:
                return containsAllMethods(codecMethods, pluginClass.getMethods());
            case OUTPUT:
                return containsAllMethods(outputMethods, pluginClass.getMethods());
            default:
                throw new IllegalStateException("Unknown plugin type for validation: " + type);
        }
    }
@Test
    public void testValidOutputPlugin() {
        Assert.assertTrue(PluginValidator.validatePlugin(PluginLookup.PluginType.OUTPUT, Stdout.class));
    }