def METHOD_NAME(
    anonymizer_with_consistent_salt: Anonymizer,
):
    with pytest.raises(AssertionError) as e:
        anonymizer_with_consistent_salt._anonymize_object_info(
            anonymized_info_dict={},
            object_=None,
            object_class=None,
            object_config=None,
        )
    assert "Must pass either" in str(e.value)