void CheckCollection(Header header, string[] contains, string[] doesNotContain)
        {
            Assert.True(header != null);

            DirectAddressCollection collection = null;

            Assert.DoesNotThrow(() => collection = DirectAddressCollection.Parse(header.Value));
            if (!contains.IsNullOrEmpty())
            {
                foreach (string addr in contains)
                {
                    Assert.True(collection.Contains(addr));
                }
            }
            if (!doesNotContain.IsNullOrEmpty())
            {
                foreach (string addr in doesNotContain)
                {
                    Assert.True(!collection.Contains(addr));
                }
            }
        }