def METHOD_NAME(self):
    self.assertRaisesMessage(
        ImproperlyConfigured,
        (
            "DJSTRIPE_SUBSCRIBER_MODEL refers to model 'testapp.UnknownModel' "
            "that has not been installed."
        ),
        settings.djstripe_settings.get_subscriber_model,
    )