def METHOD_NAME():
    with pytest.raises(BadUserDataException):
        input_variable_name = "input"
        input_variable_value = "not a pandas dataframe"
        output_variable_name = "output"
        sparkcommand = SendPandasDfToSparkCommand(
            input_variable_name, input_variable_value, output_variable_name, 1
        )
        sparkcommand.to_command(
            "spark",
            input_variable_name,
            input_variable_value,
            output_variable_name,
        )