public void ProgramMetadata_ReplaceReleaseDatesMetadataWithNull_ResultIsNotNull() { var metadata = new ProgramMetadata(); metadata.ReplaceReleaseDates(null); Assert.NotNull(metadata.ReleaseDates); }
public void ProgramMetadata_ReplaceReleaseDatesMetadata_ReplacesMetadata() { var metadata = new ProgramMetadata(); var dates = new[] { new MetadataDateTimeBuilder(1999).WithMonth(4).Build(), new MetadataDateTimeBuilder(1989).WithMonth(8).Build() }; metadata.ReplaceReleaseDates(dates); Assert.Equal(dates, metadata.ReleaseDates); }