private void Recorded_event_change_date_is_not_null_when_set()
        {
            var recordedEvent = new GedcomRecordedEvent {
                ChangeDate = new GedcomChangeDate(null)
                {
                    Date1 = "1/1/2001"
                }
            };

            Assert.NotNull(recordedEvent.ChangeDate);
        }
        private void Recorded_event_change_date_yields_correct_value_when_set()
        {
            var recordedEvent = new GedcomRecordedEvent {
                ChangeDate = new GedcomChangeDate(null)
                {
                    Date1 = "1/1/2001"
                }
            };

            Assert.Equal("1/1/2001", recordedEvent.ChangeDate.Date1);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="GedcomRecordedEventTest"/> class.
 /// </summary>
 public GedcomRecordedEventTest()
 {
     rec1 = GenerateRecordedEvent();
     rec2 = GenerateRecordedEvent();
 }