docstr: Check if PreprocessingCategorical object is properly initialized
docstr_tok: ["Check","if","PreprocessingCategorical","object","is","properly","initialized"]
code: def test_constructor_preprocessing_categorical(self):
      """
      Check if PreprocessingCategorical object is properly initialized
      """
      categorical = PreprocessingCategorical(
          [], PreprocessingCategorical.CONVERT_INTEGER
      )
      self.assertEqual(
          categorical._convert_method,
          PreprocessingCategorical.CONVERT_INTEGER,
      )
      self.assertEqual(categorical._convert_params, {})
  
file_path: mljar-supervised/tests/tests_preprocessing/test_categorical_integers.py
imports: import unittest
  import tempfile
  import numpy
  import pandas
  from supervised.preprocessing.preprocessing_categorical import PreprocessingCategorical
label_desc: Use image node_id 1 for calling the CategoricalIntegersTest obj's underlying member method code with example usage: obj.test_constructor_preprocessing_categorical() without return types