from unittest.mock import Mock


def get_url_tester_mock(identifier):
    """Get a mock of a URL tester object.

    :param identifier: an identifier for a URL tester object
    to be returned
    :returns: an instance of Mock representing a URL tester object
    """
    source = Mock()
    source.identifier = identifier
    return source