public void ValidTest()
        {
            var test = new ContainsCharacterTestClass("*****@*****.**");

            Assert.IsTrue(test.Validate());
            Assert.IsTrue(test.Errors.Count == 0);
        }
        public void NullValueTest()
        {
            var test = new ContainsCharacterTestClass(null);

            Assert.IsTrue(test.Validate());
            Assert.IsTrue(test.Errors.Count == 0);
        }
        public void InvalidTest()
        {
            var test = new ContainsCharacterTestClass("test something.com");

            Assert.IsFalse(test.Validate());
            Assert.IsTrue(test.Errors.Count == 1);
            Assert.IsTrue(test.Errors[0] == $"{nameof(test.Value)} is invalid as it does not" +
                          " contain a '@'");
        }