public void Convert_IfTimestampIsStatic_Ignores()
        {
            // Arrange
            const string expectedPartitionKey = "PK";
            IConverter <TableEntity, PocoWithStaticTimestamp> product =
                CreateProductUnderTest <PocoWithStaticTimestamp>();
            TableEntity entity = new TableEntity
            {
                PartitionKey = expectedPartitionKey,
                Timestamp    = DateTimeOffset.Now
            };
            // Act
            PocoWithStaticTimestamp actual = product.Convert(entity);

            // Assert
            Assert.NotNull(actual);
            Assert.AreEqual(default(DateTimeOffset), PocoWithStaticTimestamp.Timestamp);
            Assert.AreSame(expectedPartitionKey, actual.PartitionKey);
        }
        public void Convert_IfTimestampIsStatic_Ignores()
        {
            // Arrange
            const string expectedPartitionKey = "PK";
            IConverter <PocoWithStaticTimestamp, TableEntity> product =
                CreateProductUnderTest <PocoWithStaticTimestamp>();

            PocoWithStaticTimestamp.Timestamp = DateTimeOffset.Now;
            PocoWithStaticTimestamp input = new PocoWithStaticTimestamp
            {
                PartitionKey = expectedPartitionKey
            };
            // Act
            TableEntity actual = product.Convert(input);

            // Assert
            Assert.NotNull(actual);
            Assert.Null(actual.Timestamp);
            Assert.AreSame(expectedPartitionKey, actual.PartitionKey);
        }