def METHOD_NAME(self):
    """Tests that get_produced_apis raises exception for invalid input."""
    http_mocks.mock_http_response(fake_sm.LIST_PERMISSION_DENIED, '403')
    with self.assertRaises(api_errors.ApiExecutionError):
         self.sm_api_client.get_produced_apis(fake_sm.FAKE_PROJECT_ID)