def METHOD_NAME(self):
    self._setup()
    service_client = BlobServiceClient(
        "https://foo.blob.core.windows.net/account",
        credential="fake_key")
    assert service_client.api_version == self.api_version_2
    assert service_client._client._config.version == self.api_version_2
    with pytest.raises(AttributeError):
        service_client.api_version = "foo"
    service_client = BlobServiceClient(
        "https://foo.blob.core.windows.net/account",
        credential="fake_key",
        api_version=self.api_version_1)
    assert service_client.api_version == self.api_version_1
    assert service_client._client._config.version == self.api_version_1
    container_client = service_client.get_container_client("foo")
    assert container_client.api_version == self.api_version_1
    assert container_client._client._config.version == self.api_version_1
    blob_client = service_client.get_blob_client("foo", "bar")
    assert blob_client.api_version == self.api_version_1
    assert blob_client._client._config.version == self.api_version_1