def METHOD_NAME(self):
    with pytest.raises(FileNotFoundError) as e:
        JsonPublisher(
            self.mock_client,
            self.mock_storage_client,
            self.project_id,
            "invalid_path",
            self.api_version,
            self.test_bucket,
        )
    assert e.type == FileNotFoundError