public void Convert_IfPartitionKeyIsStatic_Ignores()
        {
            // Arrange
            const string expectedRowKey = "RK";
            IConverter <TableEntity, PocoWithStaticPartitionKey> product =
                CreateProductUnderTest <PocoWithStaticPartitionKey>();
            TableEntity entity = new TableEntity
            {
                PartitionKey = "UnexpectedPK",
                RowKey       = expectedRowKey
            };
            // Act
            PocoWithStaticPartitionKey actual = product.Convert(entity);

            // Assert
            Assert.NotNull(actual);
            Assert.Null(PocoWithStaticPartitionKey.PartitionKey);
            Assert.AreSame(expectedRowKey, actual.RowKey);
        }
        public void Convert_IfPartitionKeyIsStatic_Ignores()
        {
            // Arrange
            const string expectedRowKey = "RK";
            IConverter <PocoWithStaticPartitionKey, TableEntity> product =
                CreateProductUnderTest <PocoWithStaticPartitionKey>();

            PocoWithStaticPartitionKey.PartitionKey = "UnexpectedPK";
            PocoWithStaticPartitionKey input = new PocoWithStaticPartitionKey
            {
                RowKey = expectedRowKey
            };
            // Act
            TableEntity actual = product.Convert(input);

            // Assert
            Assert.NotNull(actual);
            Assert.Null(actual.PartitionKey);
            Assert.AreSame(expectedRowKey, actual.RowKey);
        }