def METHOD_NAME(self):
    """Test that extend loader args respects the precedence rules."""
    dm_keyword_args = {'dm_keyword_argument': 'keyword_argument_data_manager'}
    data_manager = DataManager(dataset=pd.DataFrame([[1], [1]]), target=pd.Series([1, 2]),
                               **dm_keyword_args)
    self.assertDictEqual(data_manager._loader_arguments, dm_keyword_args)
    extension_keyword_args = {'new_arg': 'should exist',
                              'dm_keyword_argument': 'should not be changed'}
    data_manager.extend_loader_args(extension_keyword_args)
    self.assertDictEqual(data_manager._loader_arguments, {
        **extension_keyword_args,
        **dm_keyword_args
    })