public void Replace_WhenValidatorExist_ShouldReplaceValidator()
        {
            var v = this.validators.First();
            var n = new DefaultArgumentValidator<string>();

            this.validators.Replace(v.GetType(), n);

            Assert.That(this.validators.First().GetType() == n.GetType());
        }
        public void Add_WhenValidatorDoesNotExist_ShouldIncrementValidatorTotal()
        {
            var originalCount = this.validators.Count;

            var v = new DefaultArgumentValidator<string>();

            this.validators.Add(v);

            Assert.That(this.validators.Count == originalCount + 1);
        }
        public void Replace_WhenValidatorDoesNotExist_ShouldThrowException()
        {
            var v = new DefaultArgumentValidator<string>();

            this.validators.Replace(v.GetType(), new StringArgumentValidator());
        }