def METHOD_NAME():
    input_variable_name = "input"
    input_variable_value = "value"
    output_variable_name = "output"
    sparkcommand = SendStringToSparkCommand(
        input_variable_name, input_variable_value, output_variable_name
    )
    sparkcommand._scala_command = MagicMock(return_value=MagicMock())
    sparkcommand.to_command(
        constants.SESSION_KIND_SPARK,
        input_variable_name,
        input_variable_value,
        output_variable_name,
    )
    sparkcommand._scala_command.assert_called_with(
        input_variable_name, input_variable_value, output_variable_name
    )