public ConnectorCheckCommand(ConnectorCheckCommandArgs connectorCheckCommandArgs) {
        this.connectorCheckCommandArgs = connectorCheckCommandArgs;
        this.DISCOVERY_MAP.put(PluginType.SOURCE, new SeaTunnelSourcePluginDiscovery());
        this.DISCOVERY_MAP.put(PluginType.SINK, new SeaTunnelSinkPluginDiscovery());
        this.DISCOVERY_MAP.put(PluginType.TRANSFORM, new SeaTunnelTransformPluginDiscovery());
    }
@Test
    public void testConnectorCheckCommand() {
        String[] args = {"-l", "-pt", "source", "-o", "FakeSource"};
        ConnectorCheckCommandArgs connectorCheckCommandArgs =
                CommandLineUtils.parse(
                        args, new ConnectorCheckCommandArgs(), "seatunnel-connector.sh", false);
        ConnectorCheckCommand command =
                (ConnectorCheckCommand) connectorCheckCommandArgs.buildCommand();
        Assertions.assertDoesNotThrow(() -> command.execute());
    }