def METHOD_NAME(self, checkmate_service, svc):
    checkmate_service.raise_if_blocked.side_effect = BadURL("Bad URL")
    with pytest.raises(BadURL):
        svc.get_url_details(sentinel.url)
    checkmate_service.raise_if_blocked.assert_called_once_with(sentinel.url)