Beispiel #1
0
        public void InsertOrReplaceEntity_Ok()
        {
            //Arrange
            var tableEntity = new DynamicTableEntity();

            var(cloudTableMock, pool) =
                CreateTablePoolWithMockForExecute(tableEntity, TableOperationType.InsertOrReplace, SetupExecute);

            //Act & Assert
            TableStorageHelpers.InsertOrReplaceEntity(pool, tableEntity).Should().Be(tableEntity);
            cloudTableMock.Verify();
        }