def METHOD_NAME(self, mock_requests):
    """Tests a valid 200 response for generate_short_url method."""
    mock_json = mock.Mock()
    mock_json.json.return_value = {"status_code": 200, "link": "http://mzl.la/LFolSf"}
    mock_requests.return_value = mock_json
    self.assertEqual("http://mzl.la/LFolSf", generate_short_url(self.test_url))