public void EmptyGoesToNullForNullableFields()
        {
            // Arrange
            string[] headerrow = { "ClientId", "Weight", "BirthDate" };
            ICsvRowActivator <J139ReportWithNullables> workload = CreateSut <J139ReportWithNullables>(headerrow);

            string[] valuerow = { "", "", "" };

            // Act
            J139ReportWithNullables report = workload.CreateFromRow(valuerow);

            // Assert
            Assert.AreEqual(null, report.ClientId);
            Assert.AreEqual(null, report.Weight);
            Assert.AreEqual(null, report.BirthDate);
        }
        public void NullPropertiesForMissingFields()
        {
            // Arrange
            string[] headerrow = { "A", "B", "C" };
            ICsvRowActivator <J139ReportWithNullables> workload = CreateSut <J139ReportWithNullables>(headerrow);

            string[] valuerow = { "1", "3", "5/3/2013" };

            // Act
            J139ReportWithNullables report = workload.CreateFromRow(valuerow);

            // Assert
            Assert.AreEqual(null, report.ClientId);
            Assert.AreEqual(null, report.Weight);
            Assert.AreEqual(null, report.BirthDate);
        }