def METHOD_NAME(self):
    """Mocks import of sorl-thumbnail AdminImageMixin."""
    sys.modules['sorl'] = MagicMock()
    sys.modules['sorl.thumbnail'] = MagicMock()
    sys.modules['sorl.thumbnail.fields'] = MagicMock()
    sys.modules['sorl.thumbnail.fields.ImageField'] = (
        self.MockSorlThumbnailImageField
    )
    # Have to set attributes to get around metaclass conflicts when
    # setting up DynamicImageField
    # https://stackoverflow.com/a/52460876/4521808
    setattr(
        sys.modules['sorl.thumbnail.fields'],
        'ImageField',
        self.MockSorlThumbnailImageField
    )