def METHOD_NAME(self) -> None:
    # Blocked via scheme and URL.
    self.assertTrue(self.url_previewer._is_url_blocked("http://matrix.org"))
    # Not blocked because all components must match.
    self.assertFalse(self.url_previewer._is_url_blocked("https://matrix.org"))
    # Blocked due to the user.
    self.assertTrue(
        self.url_previewer._is_url_blocked("http://user:pass@example.com")
    )
    self.assertTrue(self.url_previewer._is_url_blocked("http://user@example.com"))