def METHOD_NAME(self, create_dynamic_plugin_module, provider):
    """Test the mapper works for a function from an external module."""
    @calcfunction
    def test_calcfunction():
        return
    version_plugin = '0.2.19'
    dynamic_plugin = create_dynamic_plugin_module(test_calcfunction, version_plugin)
    expected_version = {'version': {'core': version_core, 'plugin': version_plugin}}
    assert provider.get_version_info(dynamic_plugin) == expected_version