def METHOD_NAME(self):
    class TestClass:
        class_attribute_variable = 1
        def __init__(self, instance_attribute_variable=2):
            self.instance_attribute_variable = instance_attribute_variable
    # convert_private=False
    json_obj = todict(TestClass(), convert_private=False, include_none_fields=True)
    self.assertEqual(json_obj, {'instance_attribute_variable': 2})
    # convert_private=True
    json_obj = todict(TestClass(), convert_private=True, include_none_fields=True)
    self.assertEqual(json_obj, {'instance_attribute_variable': 2})
    # include_class_attrs=True
    json_obj = todict(TestClass(), convert_private=True, include_none_fields=True, include_class_attrs=True)
    self.assertEqual(json_obj, {'class_attribute_variable': 1,
                                'instance_attribute_variable': 2})