def METHOD_NAME(key, subkey1, subkey2, arch, get_configuration, configure_environment,
                                   file_monitoring, configure_local_internal_options_module, daemons_handler_module,
                                   wait_for_fim_start):
    """Two registries with capital differences must trigger just one modify the event.
    Test to check that two registries monitored with the same name but
    capital differences only trigger one added event when the registry is created.
    Params:
        key (str): Name of the root subpath for registries.
        subkey1 (str): Name of the subpath identifying the registry 1 (no capital letter in the name).
        subkey2 (str): Name of the subpath identifying the registry 2 (capital letter in the name).
        arch (str): Value holding the system architecture for registries.
        get_configuration (fixture): Gets the current configuration of the test.
        configure_environment (fixture): Configure the environment for the execution of the test.
        restart_syscheckd (fixture): Restarts syscheck.
        wait_for_fim_start (fixture): Waits until the first FIM scan is completed.
    Raises:
        TimeoutError: If an expected event (registry modified) couldn't be captured.
    """
    mode = get_configuration['metadata']['fim_mode']
    scheduled = mode == 'scheduled'
    monitored_registry = os.path.join(key, subkey2)
    fim.create_registry(fim.registry_parser[key], subkey2, arch)
    fim.check_time_travel(scheduled, monitor=log_monitor)
    fim_event = log_monitor.start(timeout=global_parameters.default_timeout, callback=fim.callback_detect_event,
                                  error_message='Did not receive expected "Sending Fim event: ..." \
                                  event').result()
    if check_event_type_and_path(fim_event['data'], monitored_registry):
        with pytest.raises(TimeoutError):
            fim_event = log_monitor.start(timeout=global_parameters.default_timeout,
                                          callback=fim.callback_detect_event,
                                          error_message='Did not receive expected '
                                          '"Sending Fim event: ..." event').result()
            if check_event_type_and_path(fim_event['data'], monitored_registry):
                raise pytest.fail('Only one added event for the registry was expected.')
    else:
        raise pytest.fail(f"Unexpected fim event detected. Added event for {str(subkey2)} registry was expected.")