public void TestWithErrors(string value, int cidr, string errorMessage)
        {
            Ip6CidrBlock ip6CidrBlock = _parser.Parse(value);

            Assert.That(ip6CidrBlock.Value, Is.Null);
            Assert.That(ip6CidrBlock.ErrorCount, Is.EqualTo(1));
            Assert.That(ip6CidrBlock.Errors[0].Message, Is.EqualTo(errorMessage));
        }
        public void Test(string value, int cidr, int errorCount)
        {
            Ip6CidrBlock ip6CidrBlock = _parser.Parse(value);

            Assert.That(ip6CidrBlock.Value, Is.EqualTo(errorCount == 0 ? cidr : (int?)null));
            Assert.That(ip6CidrBlock.ErrorCount, Is.EqualTo(errorCount));
        }