예제 #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"));
        }