  def testGetResourceInvalidName(self, _, __):
    """Validates the GetResource function raises an exception for an invalid
    resource name."""
    with self.assertRaises(TypeError):
      gcp_mocks.FAKE_CLOUD_RESOURCE_MANAGER.GetResource(
          'badtype/000000000000')
Validates the GetResource function raises an exception for an invalid
resource name.
tests/providers/gcp/internal/test_cloudresourcemanager.py