Пример #1
0
        public void ShouldBeInvalidWhenSpecifiedLanguageIsFrench()
        {
            var validator = new ValidLanguage();

            Assert.IsFalse(validator.IsValid("French"));
        }
Пример #2
0
        public void ShouldBeValidWhenSpecifiedLanguageIsZulu()
        {
            var validator = new ValidLanguage();

            Assert.IsTrue(validator.IsValid("isiZulu"));
        }
Пример #3
0
        public void ShouldBeValidWhenSpecifiedLanguageIsZulu()
        {
            var validator = new ValidLanguage();

            Assert.IsTrue(validator.IsValid("isiZulu"));
        }
Пример #4
0
        public void ShouldBeInvalidWhenSpecifiedLanguageIsFrench()
        {
            var validator = new ValidLanguage();

            Assert.IsFalse(validator.IsValid("French"));
        }