def METHOD_NAME(self, mock_anonymized_faker):
    """Test the ``get_anonymized_transformer`` method.
    Test that when calling with a custom ``sdtype`` / ``function_name`` that does not belong
    to the ``SDTYPE_ANONYMZIERS`` dictionary. The ``provider_name`` is being found
    automatically other ``kwargs`` and provided locales are being passed to the
    ``AnonymizedFaker``.
    Input:
        - ``function_name`` color.
        - ``function_kwargs`` a dictionary with ``'hue': 'red'``.
    Mock:
        - Mock ``AnonymizedFaker`` and assert that has been called with the expected
          arguments.
    Output:
        - The return value must be the instance of ``AnonymizedFaker``.
    """
    # Setup
    output = get_anonymized_transformer('color', transformer_kwargs={
        'function_kwargs': {'hue': 'red'}, 'locales': ['en_CA', 'fr_CA']
    })
    # Assert
    assert output == mock_anonymized_faker.return_value
    mock_anonymized_faker.assert_called_once_with(
        provider_name='color',
        function_name='color',
        function_kwargs={'hue': 'red'},
        locales=['en_CA', 'fr_CA']
    )