public async Task UpsertDocumentAsync_WhenUpsertingValidObject_ThenObjectGetUpsertedSuccessfully()
        {
            // Arrange
            var cat = new Cat {
                Name = "Kitty"
            };
            await _cosmonautClient.CreateDocumentAsync(_databaseId, _collectionName, cat);

            // Act
            cat.Name = "MEGAKITTY";
            var updated = await _cosmonautClient.UpsertDocumentAsync(_databaseId, _collectionName, cat);

            // Assert
            updated.IsSuccess.Should().BeTrue();
            updated.Entity.Should().BeEquivalentTo(cat);
            updated.ResourceResponse.StatusCode.Should().Be(HttpStatusCode.OK);
            updated.ResourceResponse.Resource.GetPropertyValue <string>("Name").Should().Be("MEGAKITTY");
            updated.CosmosOperationStatus.Should().Be(CosmosOperationStatus.Success);
        }