def METHOD_NAME(self):
    class_id_to_filter = {
        2:
        create_filter(['==', 'type', 'building']),
        3:
        create_filter(
            ['any', ['==', 'type', 'car'], ['==', 'type', 'auto']])
    }
    feat = make_feature(type='building')
    class_id = ClassInferenceTransformer.infer_feature_class_id(
        feat, default_class_id=None, class_id_to_filter=class_id_to_filter)
    self.assertEqual(class_id, 2)
    feat = make_feature(type='car')
    class_id = ClassInferenceTransformer.infer_feature_class_id(
        feat, default_class_id=None, class_id_to_filter=class_id_to_filter)
    self.assertEqual(class_id, 3)
    feat = make_feature(type='auto')
    class_id = ClassInferenceTransformer.infer_feature_class_id(
        feat, default_class_id=None, class_id_to_filter=class_id_to_filter)
    self.assertEqual(class_id, 3)